aggressive linting

This commit is contained in:
jhoneill
2019-11-20 19:14:19 +00:00
parent 873f1a365b
commit 5aa841c225
47 changed files with 218 additions and 189 deletions

View File

@@ -2,7 +2,7 @@
$path = "$env:TEMP\Test.xlsx"
Remove-item -Path $path -ErrorAction SilentlyContinue
#Export disk volume, and Network adapter to their own sheets.
Get-WmiObject -Class win32_logicaldisk |
Get-CimInstance -ClassName Win32_LogicalDisk |
Select-Object -Property DeviceId,VolumeName, Size,Freespace |
Export-Excel -Path $path -WorkSheetname Volumes -NumberFormat "0,000"
Get-NetAdapter |