Discussion Powershell syntax --> export memory or cpu performance

  • Monday, March 07, 2011 10:51 AM
     
     

    Hi all,

    thanks for your help in advantage.

    Please i want know if i can do with powershell one script that it exports the performance monitor(cpu or memory) on a file.


    Matteo D'Andrea

All Replies

  • Tuesday, March 08, 2011 2:44 AM
    Moderator
     
     
    You want to use PowerShell to pull the performance monitor data from OpsMgr?  I don't have an OpsMgr environment handy to provide you with an example.  Can you provide a bit more detail on what you'd like to have?  You want a file with the server's name, for example, but have the data in the file from the performance monitor/counter?