Home Forums SQL Server 2008 SQL Server 2008 - General getting total disk space RE: getting total disk space
Ant-Green
SSC Guru
Points: 113445
More actions
January 22, 2013 at 1:19 am
#1579474
Powershell will probably be the best bet on that
Get-WmiObject win32_logicaldisk | where-Object {$_.providername -like ''} | select deviceid, size