Free Disk Space on SQL Server

We often are needed to develop command and control systems.
What happens if we need to develop a system that tell us about disk space SQL server
Here is the code
Select @@servername as 'SQL Server Name', getdate() as Date 
 EXEC master..xp_fixeddrives


Yours,
Roi 

Comments

Popular posts from this blog

A sharepoint list view of the current month

The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters

Export SharePoint 2010 List to Excel with PowerShell