mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Added Number Formatting
This commit is contained in:
7
Examples/NumberFormat/Win32LogicalDiskFormatted.ps1
Normal file
7
Examples/NumberFormat/Win32LogicalDiskFormatted.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
$file = "disks.xlsx"
|
||||
|
||||
rm $file -ErrorAction Ignore
|
||||
|
||||
Get-CimInstance win32_logicaldisk -filter "drivetype=3" |
|
||||
Select DeviceID,Volumename,Size,Freespace |
|
||||
Export-Excel -Path $file -Show -AutoSize
|
||||
Reference in New Issue
Block a user