Jump to content

Le_poilu

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Upvote
    Le_poilu got a reaction from Paul in Windows8/2012 StoragePool support   
    Hi
     
    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
×
×
  • Create New...