uj könyvtär Scripts
This commit is contained in:
6
Scripts/powershell/Freie_Platz_Hard_Drive.ps1
Normal file
6
Scripts/powershell/Freie_Platz_Hard_Drive.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
Get-WmiObject -Class Win32_LogicalDisk | ? {$_. DriveType -eq 3} | select DeviceID, {$_.Size /1GB}, {$_.FreeSpace /1GB}
|
||||
|
||||
# z.B. ha csak a C meghajtó érdekel
|
||||
#DeviceID $_.Size /1GB $_.FreeSpace /1GB
|
||||
#-------- ------------ -----------------
|
||||
#C: 99,3974571228027 0,667621612548828
|
||||
Reference in New Issue
Block a user