Getting commit charge information out of WMI

Home Forums Scripting PowerShell Getting commit charge information out of WMI

This topic contains 2 replies, has 2 voices, and was last updated by Avatar DreamweaverN 13 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Avatar
    DreamweaverN
    Member
    #116839

    Hi all

    I’ve been trying to get the commit charge information out of WMI so I can use it in a PowerShell script I’ve been working on. How do I get the info? I’ve searched the net hi and low and I’ve come up short. I just need the Total, Limit and Peak like in Task Manager.

    Any help would be greatly appreciated!

    JeremyW
    JeremyW
    Moderator
    #267901

    Re: Getting commit charge information out of WMI

    I’m still in the very beginning stages of learning to script but is this what you’re looking for?
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_perfformatteddata_perfos_memory.asp

    Avatar
    DreamweaverN
    Member
    #286224

    Re: Getting commit charge information out of WMI

    I think that is it, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.