Search this Blog

Monday, June 03, 2019

Powershell Module to get local & remote system's disk space details

This handy PowerShell module helps us to get the disk space details of the local system as well the remote system. The script queries the WMI object and get the logical disks space details of each partitions. It lists the full details such as total volume size of the partition, drive letter, used space, free space as well the free space details in terms of percentage which will be very much useful. This wonderful module will assist to get the disk space details without logging to remote system.
And one more important thing is, if the computer parameter for remote system is not specified it defaults to the local system's disk details.
Usage: - Get-DiskSpace -Computer SERVER1
             Get-DiskSpace

Link to the script: Get-DiskSpace






 

No comments:

Post a Comment