Sql-server – How to find the amount of free disk space only using SQL Server

disk-space-utilizationsql serversql-server-2005

I have a SQL (2005) server for which I need to monitor the amount of free disk space. It is not currently running a web server so a normal ASP/.Net monitor page won't work in this case. Is there any way that I can find the amount of free disk space on the server using only a SQL query?

Best Answer

Have you tried EXEC xp_fixeddrives ?

A decent list of stored procedures which aren't well documented here