This commit is contained in:
dfinke
2017-10-12 10:55:18 -04:00
parent f5acf88a17
commit 1004d8a9ea

View File

@@ -1,4 +1,6 @@
ipmo .\ImportExcel.psd1 -Force
"To ship, is to choose"
ipmo .\ImportExcel.psd1 -Force
$file = "c:\temp\testPT.xlsx"
rm $file -ErrorAction Ignore
@@ -18,5 +20,6 @@ $pt.PT2=@{
}
$data = gsv | select status, Name, displayName, starttype
$data | Export-Excel -Path $file -Show -PivotTable $pt -AutoSize
Get-Service |
select status, Name, displayName, starttype |
Export-Excel -Path $file -Show -PivotTable $pt -AutoSize