Got more questions? Find advice on: ASP | SQL | XML | Regular Expressions
in Search
Welcome to WindowsAdvice Sign in | Join | Help

Goodbye WSH?

Last post 02-27-2005, 7:28 AM by icelava. 2 replies.
Sort Posts: Previous Next
  •  02-25-2005, 11:00 PM 9

    Goodbye WSH?

    Looks like with the current might Microsoft is pushing with the .NET Framework (winFX), can we expect to see WSH disappear from Longhorn?

    Already I see many of the new range of .NET servers (e.g. MOM 2005) only supporting extensibility and programmatic managability via .NET FW, leaving WSH for the vultures to tear apart and consume.

    I wonder if administrators are supposed to be forced into real programming and forget about scripting.

    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
  •  02-26-2005, 9:20 PM 10 in reply to 9

    Idea [I] Re: Goodbye WSH?

    Actually, Microsoft's strategy at this stage is pretty straight-forward. They are going to be replacing (over time) WSH with MSH, the Microsoft Shell, code-named Monad. Monad was one of the technologies that Microsoft previewed around the time that .NET 2.0 BETA 1 timeframe.

    The shell hosts the .NET runtime and uses a series of "cmdlets" to encapsulate the various functions that you can perform with the system. Cmdlets have meaningful names like "get-process" and "eat-steak" where the pattern [verb]-[noun] is actually baked into the programming model.

    One of the big differences over existing shells like bash is that when piping from one cmdlet to another you don't just pass text, you actually pass .NET object instances (this is largely transparent) which means you don't loose information and you don't have to deal with nasty text parsing routines which always made script programming a bit of a nightmare.

    All in all I think that administrative script programming is going to get easier, especially since Cmdlets and their capabilities can be discovered dynamically (its not hidden away in an EXE, its exposed as meta-data), so we will find editors that allow you to build pipelines to perform processing.

    Timeframe wise, I would expect this stuff to be out after Whidbey (.NET 2.0) ships but before Longhorn ships - but you never can tell. If you want to know more about the practical aspects of Monad you can check out this video with Jeffrey Snover over at Channel9.

    http://shrinkster.com/41i
  •  02-27-2005, 7:28 AM 12 in reply to 10

    Re: Goodbye WSH?

    [quote user="Mitch Denny"]One of the big differences over existing shells like bash is that when piping from one cmdlet to another you don't just pass text, you actually pass .NET object instances (this is largely transparent) which means you don't loose information and you don't have to deal with nasty text parsing routines which always made script programming a bit of a nightmare.[/quote]I suppose that means all of these Cmdlets executed from a single pipelined command exist within an umbrella Application Domain, or at least has items marshalled across processes as each program takes over in execution.

    Well, should be a transparent procedure and not a big concern on the scriptor's part. :)

    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
View as RSS news feed in XML