Added Number Formatting

This commit is contained in:
dfinke
2016-03-26 13:57:21 -04:00
parent 41bca369c5
commit 5b0a528711
10 changed files with 73 additions and 4 deletions

View 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 -NumberFormat "0"