Search Results

Keyword: ‘SMS’

PowerShell 2.0 Released and why that’s awesome

October 28th, 2009 jpavleck 1 comment

Yesterday, posted quietly as KB article 968929, Microsoft officially released PowerShell 2.0

Why is that cool? Because now you can get PoSh 2 officially deployed to all your servers. And you get to “officially” use the coolest CmdLet in the bunch: New-WebServiceProxy

Now, if you were to just read the help about it, it doesn’t really seem all that interesting:

Creates a Web service proxy object that lets you use and manage the Web service in Windows PowerShell.

But I’m going to give you an awesome secret. There’s a webservice out there unlike any other. If you want to sell PoSh to your coworkers, this is the way to do it.

What is it?

WebServiceX_logo

WebServiceX.Net provides On Demand XML Web Services for Financial,Distribution, Retail, Health Care, Manufacturing, Telecom, Government and Educational Industry.

So, what’s the mean to us?

Well using our shiny new cmdLet and a few lines of code we can instantly access data for over 70 different services. So really it comes down to “What do you want to do?”

Get the weather? No problem.

$usWeather = New-WebServiceProxy –uri “http://www.webservicex.net/WeatherForecast.asmx?wsdl”
$usWeather.GetWeatherByZipCode(55408)

BAM. Done.

Oh, you don’t live in the US? No worries either.

Lets see how the weather of a certain favorite MS employee is.

$weather = New-WebServiceProxy –uri "http://www.webservicex.net/globalweather.asmx?wsdl”

$weather.GetWeather(‘Amsterdam’, ‘Netherlands’)

Amsterdamweather

Wow, Stefan better grab a coat, it’s chilly there.

Ok, those were interesting in an ‘yeah, I’ve seen that before’ way – but what else?

A simple-as-pie domain whois? You know it’s there.

$whois = New-WebServiceProxy –uri “http://www.webservicex.net/whois.asmx?wsdl”

$whois.GetWhois(‘Pavleck.Net)

PavleckNetWhois

BAM!

Next?

How about searching Lloyd’s for the risk code for a given item. Sure, we got it.

$lloyds = New-WebServiceProxy -uri "http://www.webservicex.net:85/LloydsRiskCodeService.asmx?wsdl"
 $lloyds.GetLloydsRiskCodeDetailByRiskCodeDescription(‘OVERSEAS LEG TERRORISM PROPERTY’)

LloydsRiskCode

BAM!

Apparently it’s risk code is 6T. No idea what that all means.

I could go on all day – there is so much information out there. From Acceleration Unit Converters, Sunset and Sunrise times, RSS Readers, Translation services, Barcode generation, Text to Braille – hell, it’ll even let you send Free SMS messages and Faxes to anyone!

As you can tell, it’s a pretty expansive list, with many options and a whole ton of data. Not always what you want when you’re trying to do a little Posh-Fu. So that’s why I’m working on a little script for you to dot source, one that “PoShifies” these various services and gives you a lot more options on the command line – look for that soon!

Oh, and before I forget – be sure to check out the PowerScripting Podcast tomorrow night because you’re in for a treat! Me, Marco Shaw, Marcus Oh and Scott Moss will be giving a little panel discussion about PowerShell in OpsMgr – the Command Shell as we’ve come to call it. So come listen in, ask some questions, and maybe win some sweet sweet schwag!

Configuring SMS in OpsMgr

April 29th, 2009 jpavleck 5 comments

I’ve been seeing a lot of questions on just how to enable the sending of SMS inside of SCOM. The ‘configuration’ inside OpsMgr is very simple; just a little check box that says "Enable short message service notifications".OpsMgr Enable SMS Notifications

To figure this all out, I talked to my friends up the street at MultiTech and had them send me a few of their SMS modems so I could figure it all out. They sent me 3 GPRS modems1. This article will focus on the USB and RS-232 versions, which are almost completely identical in setup, and the same in operations. MultiTech MultiModem MCTBA-G-U-F4 The MultiTech MultiModem GPRS2 is a small (4 inches long, 2.5 inches wide, 1 inch high) device that accepts a SIM3 card and talks to your computer (Windows XP, Vista, Server 2003, Server 2008) via USB or RS-232 Serial (They have an additional model which uses Ethernet, that will be in part 2). Here’s the Cliff’s Notes Version:

  1. Open the modem
  2. Install SIM card into modem
  3. Plug in antenna, plug in USB, plug into your server
  4. Download and install the drivers
  5. Open the OpsMgr admin console, and place a check in the box to enable SMS

Now, if you want a more indepth step by step via, with plenty of pretty pictures to look at read on after the jump! Read more…

  1. GPRS, or General Packet Radio Service, is one of the most popular data standards in use in the US. They also make modems that talk to EDGE and CDMA systems though []
  2. USB Model: MTCBA-G-U-F4, RS-232 Model: MTCBA-G-F4 []
  3. Subscriber Identity Module – See Wikipedia []
Categories: Uncategorized Tags:

And look what I received today

March 13th, 2009 jpavleck No comments
MultiTech GPRS MultiModems

MultiTech GPRS MultiModems

I’ve seen a lot of questions, both in the MVP email list and on the forums/newsgroups, about how to setup OpsMgr to use SMS. The easiest way is with these, GPRS (Cellular) modems.

So I sent an email to my friends at MultiTech and the above showed up – a USB, RS-232, and Ethernet GPRS modems. I will be setting them up, documenting the process, then posting it here for you all to take in.

I think you’ll be pleasantly surprised at how simple it is to setup and, more importantly, how much more cost effective it is versus a paging solution like Telelink, Hiplink, etc. No more needing to know the carrier a number is under, no more global gateways to license. An unlimited messaging plan with no voice can be had for as little as $7/month.

So look for that coming soon!

Categories: Notifications, SCOM Tags: , , ,

Twitter Updates for 2008-08-04

August 4th, 2008 jpavleck No comments

Powered by Twitter Tools.

Categories: SCOM Tags: