sql server find the size of all drives in database server

I was curious about, is there any way to get the size of all drives of a server using sql query. I found one as follows.

EXEC master..xp_fixeddrives

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *