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