Powershell Script to get total and free disk space Leave a reply You can execute the below powershell script to get total & free disk space which includes the mount drive as well. Get-WmiObject -class Win32_volume -filter "drivetype = 3" | select name, @{Name="Capacity";Expression={$_.capacity / 1GB}},@{Name="freespace";Expression ={$_.freespace / 1GB}} Share this: Click to share on Facebook (Opens in new window) Facebook Click to share on Tumblr (Opens in new window) Tumblr Click to share on LinkedIn (Opens in new window) LinkedIn Click to share on Reddit (Opens in new window) Reddit Click to print (Opens in new window) Print Click to share on X (Opens in new window) X Click to email a link to a friend (Opens in new window) Email Click to share on Pinterest (Opens in new window) Pinterest Like Loading... Related