search
top

Use PowerShell to Get Drive List and Capacity

Use PowerShell to Get Drive List and Capacity Introduction Just a simple post with PowerShell. Had a bunch of Windows servers that needed to get a list of local drives and display the size of the drive and the freespace on the drives in GB. To achieve that decided to use Win32_LogicalDisk call in PowerShell. select a few of the available fields and do a little math. The Code What is Win32_LogicalDisk? The... read more

top