hello
Google
Welcome to Carpe Diem: Flaphead@Home Sign in | Join | Help

Carpe Diem: Flaphead.com

Seize the Day

News


  • Add to Technorati Favorites <script type="text/javascript" src="http://technorati.com/embed/3ni3q36ikc.js"> </script>
    This information is provided "AS IS" with no warranties, and confers no rights. Also some of the information contains my views and thoughts.
    <script src="http://widgets.technorati.com/t.js" type="text/javascript" charset="UTF-8"></script>

    Add Me! - Search Engine Optimization

    I heart FeedBurner

get-PerfCounters.ps1

I wrote this a while back, and just blew the dust off it.

Meet get-PerfCounters.ps1  Basically you feed the script a csv file that has "ServerName" on the first line the first.

The script will then loop the servers and get the following perf counters

System\System Up Time
Memory\% Committed Bytes In Use
Memory\Committed Bytes
Memory\Commit Limit
Paging File\% Usage
Memory\Pool Nonpaged Bytes
Memory\Pool Paged Bytes

You can see from the code that it is very easy to add other counters if you want to get them.

What is then does is output the counter to file in a dated folder.

The final bit, that I am really proud of, is it will check free diskspace.  I uses the Logical Disk Perf counter and will pick up ALL logical drives.  It will event alert you if if the free space falls beloe a value.

 Well check it out and let me know what you think

Posted: 23 May 2008 12:17 by Paul Flaherty
Attachment(s): get-PerfCounters.ps1

Comments

subject: exchange said:

Microsoft&#39;s Push for Exchange Online Fast Guide: How to improve Outlook Web Access security Why Exchange

# May 26, 2008 08:39
New Comments to this post are disabled