Le_poilu
Members
-
Joined
-
Last visited
Reputation Activity
-
Le_poilu got a reaction from Paul in Windows8/2012 StoragePool supportHi
Â
Thanks for your answer. Sorry to be late here, was a bit busy... And I had hard time to find the good powersheel cmdlt for that.
Â
I found this to fetch actual physicaldisk size and allocated size:
Â
Get-WmiObject -Namespace "root/Microsoft/Windows/Storage" -Class MSFT_PhysicalDisk -Property Friendlyname, Size, AllocatedSize, Healthstatus,model | Format-Table Friendlyname, model, Size, Allocatedsize, healthstatus Â
With this info you can check the Data filled on the physicaldisk and using it for what we need in PCMonitor
Â
More infos here about the WMI-Object:
http://msdn.microsoft.com/en-us/library/windows/desktop/hh830532(v=vs.85).aspx
Â
Best regards