Categories
technology

More on MSH

Just reading the complete Udell article again.
Can’t help but feel that getting an XML representation of system processes over a certain size using a command like: <

MSH> get-process | pick-object name,vs | where { $_.vs -gt 150000000} | convert-xml

is extremely neat. Sample results are listed below. I’m less than convinced about the two-part name/type syntax for the XML representation (it’s a bit clunky) but this is a small quibble.

<MshObjects>
<MshObject ReferenceID="ReferenceId-0" Version="1.1">
<MemberSet>
<Note Name="name" IsHidden="false" IsInstance="true" IsSettable="true">
<string> firefox</string>
</Note>
<Note Name="vs" IsHidden="false" IsInstance="true" IsSettable="true">
<int> 220983296</int>
</Note>
</MemberSet>
</MshObject>
</MshObjects>

Categories
technology

Microsoft Shell (MSH)

Read about Microsoft Shell a few months ago and it seems like it’s getting some serious attention. (maybe not as much as MS’s search engine pitch but I’ll hold fire for the moment).
MSH is a genuinely great idea from Microsoft. Not an unusual thing in itself but this is a bit different. To quote Udell

System administration has always been Windows’ Achilles’ heel. The graphical tools that simplify basic chores just get in the way when there’s heavy lifting to be done. And CMD.EXE, the hapless command shell, pales in comparison to the Unix shells that inspired it. Win32 Perl has been my ace in the hole, combining a powerful scripting language with extensions that can wield Windows’ directory, registry, event log, and COM services. But I’ve always thought there should be a better way.
Jeffrey Snover thought so, too. He’s the architect of Monad, aka MSH (Microsoft Shell), the radical new Windows command shell first shown at the Professional Developers Conference last fall.
MSH is quirky, complex, delightful, and utterly addictive. You can, for example, convert objects to and from XML so that programs that don’t natively speak .Net can have a crack at them. There’s SQL-like sorting and grouping. You write ad hoc extensions in a built-in scripting language that feels vaguely Perlish. (sd: reminds me a bit of bash scripting) For more permanent extensions, called cmdlets, you use .Net languages.

This will really appeal to hardcore MS administrators and Winadmins coming from a Unix background. Also this is potentially a reall cool tool to enable the policy based management of collections of windows boxes using .NET commandlets. Very tasty… Thank you Microsoft, just what the doc ordered..

Categories
humour

Flash site

monkeyhub.jpg
Macromedia’s Flash is one of the single most powerful tools for web development. The combination of DHTML and Flash have created the all-singing, all-dancing web that we know and love (especially if we have nice fat broadband connections). Monkeyhub is a site dedicated to the power of flash as an animation tool. Check out their Radiohead “Creep” video and the hilarious “Microsoft Pants” sketch. I love the bit about IE being debugged by moles who live at the centre of the earth. I always suspected as much. Monkeyhub also have a collection of work-in-progres animations and websites for the various companies that have contracted their web design skills. These include RapidCare (contact lens cleaning system) and Ralph Lauren. The results are stunning.