Last active
August 16, 2018 15:34
-
-
Save jkavanagh58/69bb6d5f8d81fa8e53c9d2b4014376cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -Modules ImportExcel | |
$xlsxPath = "C:\Users\vndtekjxk\OneDrive - Wegmans Food Markets, Inc\Documents\SRM" | |
$xlsxName = "SRM1.xlsx" | |
$xlsxFile = Join-Path $xlsxPath -ChildPath $xlsxName | |
If (Test-Path $xlsxFile) { | |
$dataSet = Import-Excel -Path $xlsxFile -WorksheetName Sheet1 -DataOnly | |
$dataSet | Select-Object -Property Group -Unique | sort-object -Property Group | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment