Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

A script for Windows Disk Estimation.

$
0
0

Hi,

I need to implement a script by which I can get the windows disk used space and available space.

In brief; If I have 4 disks on my SQL Server, so using one script I can get all the used space and available space for all the 4 drives.

Lets take an Example : If disc C contains total of 100 GB space and out of it 80 GB is used so 20 GB is left, and after running query I get the result as C available space is 20 GB and used space is 80 GB and total space is 100 gb.

Please Help,

Thanks In Advance.


Regards, Ashish Tripathi


Viewing all articles
Browse latest Browse all 23857

Trending Articles