mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-10 13:23:29 +00:00
Updated
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
ipmo .\ImportExcel.psd1 -Force
|
"To ship, is to choose"
|
||||||
|
|
||||||
|
ipmo .\ImportExcel.psd1 -Force
|
||||||
|
|
||||||
$file = "c:\temp\testPT.xlsx"
|
$file = "c:\temp\testPT.xlsx"
|
||||||
rm $file -ErrorAction Ignore
|
rm $file -ErrorAction Ignore
|
||||||
@@ -18,5 +20,6 @@ $pt.PT2=@{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$data = gsv | select status, Name, displayName, starttype
|
Get-Service |
|
||||||
$data | Export-Excel -Path $file -Show -PivotTable $pt -AutoSize
|
select status, Name, displayName, starttype |
|
||||||
|
Export-Excel -Path $file -Show -PivotTable $pt -AutoSize
|
||||||
Reference in New Issue
Block a user