diff --git a/Examples/TryMultiplePivotTables.ps1 b/Examples/TryMultiplePivotTables.ps1 index 449ac2c..134058c 100644 --- a/Examples/TryMultiplePivotTables.ps1 +++ b/Examples/TryMultiplePivotTables.ps1 @@ -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 \ No newline at end of file +Get-Service | + select status, Name, displayName, starttype | + Export-Excel -Path $file -Show -PivotTable $pt -AutoSize \ No newline at end of file