You can use the Get-PSDrive cmdlet in PowerShell to check the disk space of all logical drives on a Windows server.
Get-PSDrive
Get-PSDrive -PSProvider FileSystem | Select-Object Name, @{Name="UsedGB";Expression={[math]::round(($_.Used/1GB),2)}}, @{Name="FreeGB";Expression={[math]::round(($_.Free/1GB),2)}}, @{Name="TotalGB";Expression={[math]::round(($_.Used + $_.Free)/1GB,2)}}
Get Security Updates Installed in Last Month in PowerShell
1.1k questions
696 answers
482 comments
193k users
Related Activities
Categories
Most popular tags