Sample Script1 [Powershell] Wind32_LogicalDisk Get-CimInstance -Class Win32_LogicalDisk | Select-Object -Property Name, @{ label='FreeSpace' expression={($_.FreeSpace/1GB).ToString('F2')} } Name FreeSpace ---- --------- C: 67.40 D: 72.14 2022. 5. 29. 이전 1 다음