Get-PSDrive Used, Free and Total Capacity
Run the following in Power Shell to get a list of the used, free and total disk capacity on the Windows system. Invoke-Command -ComputerName ComputerName {Get-PSDrive | Where {$_.Free -gt 0} | Select -Property Name, @{Name=”Used”; Expression={[Math]::Round(($_.Used/1GB),2)}}, @{Name=”Free”; Expression={[Math]::Round(($_.Free/1GB),2)}}, @{Name=”Total”; Expression={[Math]::Round((($_.Free+$_.Used)/1GB),2)}} }