How to check the free space of the disks in the SQL server?

To check the free space, you can use an extended stored procedure...

returns a list of all the disks in the SQL server with the corresponding free space in MB.

Example:


EXEC master..xp_fixeddrives

warning: undocumented