Install help?

Jan 13, 2010 at 7:05 PM

Disclaimer: I am a n00b

This seems like just what I'm after for a bot which monitors SNMP alerts and alerts the support team in a Jabber chat-room. But I can't get started. I'm using PowerShell 2.0 (graphical) and my script looks like this:

# Using PoshXMPP library by Jaykul
InstallUtil PoshXmpp.dll
Add-PsSnapIn PoshXmpp

It gets me:

The term 'Install-Util' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
At C:\Temp\PowerShell\Bottom\Bottom.ps1:2 char:13
+ Install-Util <<<<  PoshXmpp.dll

Add-PSSnapin : No Windows PowerShell Snap-ins are available for version 2.
At C:\Temp\PowerShell\Bottom\Bottom.ps1:3 char:13
+ Add-PsSnapIn <<<<  PoshXmpp

Any suggestions?