PowerShell Basics

Unlocking the new Power in the Microsoft Shell
April 7th, 2008

PoShMon for PolyMon!

I’m happy to announce the release of PoShMon - a PowerShell snap-in for working with PolyMon, an open source system monitoring solution.

 

This is the first release and contains some basic cmdlets for interacting with PolyMon.  Cmdlets included are:

  • Get-Monitor
  • Set-Monitor
  • New-Monitor
  • Add-Operator
  • Remove-Monitor

What I am looking to do with PoShMon was create a scriptable interface to create and modify monitor objects.  There is a (limited) help included with this (using the standard PowerShell Get-Help structure).

 

Please provide me with suggestions, feature requests, and other feedback.

 

Installation instructions:

You will need to have the PolyMon Monitor installed.  Running the install script will copy the PoShMon.dll and PoShMon.dll-Help.xml to the PolyMon\PolyMon Monitor directory and install the snap-in.  It will load the snap in for the current PowerShell session.

 

If you would like to make the cmdlets available in other PowerShell sessions, you can use Add-PsSnapin PoShMon during your console session or add it to your profile script.

 

PoShMon can be downloaded here.

PoShMon’s source code can be downloaded here.

More information about PolyMon can be found here

.

Technorati Tags: ,,,

2 Responses to “PoShMon for PolyMon!”

  1. Any chance of renaming them to match more with the Powershell naming conventions? For Example Get-PolymonMonitor. Not a big deal, but otherwise it is not easy to know what the commands do in a script.

    Thanks :)

  2. You bet. I’ll probably be doing that with the next release, which should be integrated into an upcoming PolyMon release.

Leave a Reply