Quantcast
Channel: Symantec Connect - Client Management Suite - Discussions
Viewing all articles
Browse latest Browse all 2021

custom report with drive space % free

$
0
0
I need a solution

ok so there is a canned report that shows how big the drive is, how much space is free and how much space is used...

With that I was able to come up with what I would like, but cannot figure out how to calculate the % free. anyone assist or have a type report I can use?

select t1.Name, t0.[Free Space (Bytes)] / (1024 * 1024) AS 'Free (MB)', t0.[Size (Bytes)] / (1024 * 1024) AS 'Total Size (MB)', (t0.[Size (Bytes)] / (t0.[Free Space (Bytes)] * 100)) AS 'Free Percent'
from vHWLogicalDisk t0 join Inv_AeX_AC_Identification t1 on t0._ResourceGuid = t1._ResourceGuid
where t0.Name = 'c:'
0

Viewing all articles
Browse latest Browse all 2021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>