Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Send IM to Jabber server via PowerShell?

278 views
Skip to first unread message

Jim Holcomb

unread,
Aug 21, 2007, 11:07:28 AM8/21/07
to
I'm looking to send alerts to a Jabber server with some monitoring
I'm doing and was wondering if it's possible to do this in PowerShell.
I've seen where NetCmdLets does this but I'd prefer to do this without
installing anything else.

Thanks,
Jim

Oisin Grehan

unread,
Aug 21, 2007, 4:31:22 PM8/21/07
to

Hi Jim,

While telling you exactly how to do it is beyond the scope of a NG
post, I can tell you that all the components are there to do it:
Sockets & rich XML support.

I wrote something similiar in TCL some years ago, and I know Perl has
many libraries in CPAN that can also do this. Might I suggest that you
seek out Net::Jabber on www.cpan.org and have a shot at porting
Jabber::Client to powershell. The grammar is similiar in many ways.
Regarding sockets support in powershell / .net, check out the
system.net.sockets.* namespace on http://msdn2.microsoft.com

Hope this helps,

- Oisin

Marco Shaw

unread,
Aug 21, 2007, 9:04:28 PM8/21/07
to

> While telling you exactly how to do it is beyond the scope of a NG
> post, I can tell you that all the components are there to do it:
> Sockets & rich XML support.

There seems to be a new project out there called Jabber.NET or
Jabber-NET, but it seems pretty immature.

If a .NET library was written, you could likely load that in PowerShell,
then jab away...

Marco


--
----------------
PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com

Hal Rottenberg

unread,
Aug 22, 2007, 9:42:11 AM8/22/07
to
On Aug 21, 9:04 pm, Marco Shaw <marco.shaw@_NO_SPAM_gmail.com> wrote:
> If a .NET library was written, you could likely load that in PowerShell,
> then jab away...

This seems to be the best bet out there right now after a bit of
browsing:

agsXMPP SDK
http://www.ag-software.de/index.php?page=agsxmpp-sdk

I'd love to follow/watch/help this project Jim. I'm the webmaster for
the Psi XMPP client, an XSF member, and know all the players in the
XMPP community. You tell me if you need anything along those lines.

-hal

http://halr9000.com
http://psi-im.org

Jim Holcomb

unread,
Aug 23, 2007, 10:31:54 PM8/23/07
to

Ah, this looks the most promising to me. I've downloaded this one but
might not be able to play with this much until next week.

Thanks!
Jim

0 new messages