How Can We Help?
How To Find Disk Capacity and Free Space of Remote Computers
Finding disk capacity and free space of a local computer is easy but not so easy from a remote computer, especially through a GUI interface. It’s much easier to utilize the power of PowerShell and here is how you can do it.
You can use the following command:
Get-WmiObject Win32_LogicalDisk -ComputerName remote_computer -Filter DriveType=3 | Select-Object DeviceID, FreeSpace, Size
To list the size in GB format:
Get-WmiObject Win32_LogicalDisk -ComputerName remote_computer -Filter DriveType=3 | Select-Object DeviceID, @{‘Name’=’Size (GB)’; ‘Expression’={[math]::truncate($_.size / 1GB)}}, @{‘Name’=’Freespace (GB)’; ‘Expression’={[math]::truncate($_.freespace / 1GB)}}