PowerShell Team

Automating the world one-liner at a time…

Latest posts

Apr 25, 2008
Post comments count 0
Post likes count 0

Heading to Microsoft Management Summit (MMS) Where We'll Show PowerShell CTP2

PowerShell Team

A number of us are headed to Vegas this weekend to prep for MMS were we will be showing the latest and greatest PowerShell V2 features.  It pays to attend these conferences as you get the first look at our new stuff.  If you recall, CPT1 was released at IT Forum in Barcelona last year.   We are really excited to show off what we have been working on.  CTP2 is the largest/most expansive set of changes we've ever made to PowerShell.  I think it is going to take everyone a long time to comprehend the true magnitude and ramifications of what we are delivering in CTP2 - it is truly game c...

Apr 25, 2008
Post comments count 0
Post likes count 0

The PowerShell Team

PowerShell Team

Here are the superstars that have been working hard to bring you PowerShell:   Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Apr 25, 2008
Post comments count 0
Post likes count 0

Get-PowerShell

PowerShell Team

During the filming of our Management & Services Division video, the producer wanted me to stand next to one of the posters we produced promoting PowerShell.  This is the poster:     BTW - I'm old but not THAT old.  They edited my mustache to make it look like a milk mustache.  :-< Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Apr 24, 2008
Post comments count 0
Post likes count 0

Changes in upcoming CTP

PowerShell Team

In my earlier blog, I mentioned that we had changed things since the previous CTP.  Rather than leave everyone wondering whether they were doomed or not, I decided to have an early release of that portion of the release notes.    Here they are:   Breaking Changes to Windows PowerShell 1.0 1. The value of the PowerShellVersion registry entry in HKLM\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine has been changed to 2.0. 2. Added new language keywords: Data, Cmdlet, and DynamicParam. Any commands called data, cmdlet or dynamicParam are interpreted as language keywords and result in pa...

Apr 24, 2008
Post comments count 0
Post likes count 0

How Could You Top CTP1?

PowerShell Team

(Did I give it away by putting the "1" next to the CTP?) Well put your seatbelts on baby because CTP2 is in the cooker and will be available sometime soon.  I'm writing this note to remind everyone of what a CTP is and is not.  The original CTP: Watch this Space blog is worth re-reading.  Wait, let me be more precise - go read that blog again.  Do you remember PROMISED that we'd listen and act upon (a subset of) your feedback and that that meant that things would change?  Well we got some great feedback and have made a bunch of changes.   I think you are going to ...

Apr 23, 2008
Post comments count 0
Post likes count 0

Management & Services Division (MSD)

PowerShell Team

We recently did a short internal "who are we" video about our organization (MSD).  I don't know how it got out into the wild but you can check it out over on YouTube HERE.  It's 3 minutes, fun and there are a couple scenes of me saying things that are either really stupid or really clever. (seemed clever at the time but upon viewing ... well... :-) ) Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/techne...

Apr 20, 2008
Post comments count 0
Post likes count 0

$MindWarpingPower = $Cmdlets + $ScriptBlock_Parameters

PowerShell Team

A while ago I blogged about the power of Flexible Pipeling Scriptblock parameters.  The mechanics of this are quite simple:  In a pipeline environment, if you provide a SCRIPTBLOCK to a parameter which does not take a SCRIPTBLOCK or an OBJECT, the PowerShell engine assigns the current pipeline object to the variable "$_", runs the scriptblock and uses whatever value it returns for the value of that parameter.    Looking back at this, I don't think we've done a good enough job explaining it or promulgating its use because it is incredibly powerful and I just don't see it being used...

Apr 15, 2008
Post comments count 0
Post likes count 0

WMI Object Identifiers and Keys

PowerShell Team

Recently one of MVPs, Darren Mar-Elia (Group Policy Guru from SDMSoftware [which as a set of FREE PowerShell GP cmdlets HERE])  was working with our WMI type accelerators and got the following error: $ld = '\\sdmlaptop1\root\cimv2:Win32_LogicalDisk.Caption="C:"' $disk = [WMI] $ld Cannot convert value "\\sdmlaptop1\root\cimv2:Win32_LogicalDisk.Caption="C:"" to type "System.Management.ManagementObject". Error: "Invalid object path " At line:1 char:17 + $disk = [WMI] $ld <<<< This is a great opportunity to discuss WMI Key properties.  WMI is an awesome piece of infrastructure.  It has a ri...

Apr 15, 2008
Post comments count 0
Post likes count 0

PowerShell Running Inside of Emacs

PowerShell Team

Dino Chiesa has a couple of blogs showing how he was able to get PowerShell running as an "inferior shell" within Emacs.  Apparently "inferior shell" is an emacs term of art and not a dig at PowerShell :-).  I've always respected the all consuming nature of emacs and the love it has from its users.  I used to joke that "emacs isn't an editor, it was a way of life".  Emacs lovers log into emacs and that is where they hang out - all day.  They can do almost everything from within emacs. Well know Dino shows how they can hang out in emacs and  run PowerShe...