PowerShell Team

Automating the world one-liner at a time…

Hyphens in Command Names

In my previous blog entry, I talked about how Michael Fisher had blogged his intial impressions about PowerShell. One of the things that Michael did not like was the hyphenated command names.  A discussion about the Pros/Cons of hyphens isn't actionable at this point because we've placed our bets and shipped V1.  Even if ...

Blog Your Initial PowerShell Experiences

Michael Fisher has just started using PowerShell and is blogging his impressions.  You can see them at http://fastdad.wordpress.com/2007/01/05/windows-powershell-10/ .  10,000 thanks Michael! I can't tell you how valuable we find it when people do this!  We fully expect that you are going to have to invest a few...

Cliff Notes for PowerShell Functions

A PowerShell User (BS) has started a new blog with a very nice,pithy set of examples showing the range of capabilities of PowerShell Functions.  Think of this as the Cliff Notes for PowerShell Functions.  Check it out at: http://mybsinfo.blogspot.com/2007/01/beginning-and-end-process-to.html Cheers. Jeffrey Snover [MSFT]Windows ...

More PowerShell Training Available

Don Jones and Jeffery Hicks (co-authors of the Windows PowerShell: TFM book) will be offering PowerShell Training in the following cities: Check out details and dates at: http://www.scriptingtraining.com/classes.asp If you are intersted in private in-house training, contact them directly. Jeffrey Snover [MSFT]Windows PowerShell/...

On Scripting Languages

There is an interesting blog entry On Scripting Languages over an the AdminSpotting site.  One statement was so absolutely spot-on that I plan on stealing it and using it often, "What the Programmers call 'Dynamic Languages', the Admins call 'Scripting Languages'." Jeffrey Snover [MSFT]Windows PowerShell/MMC ArchitectVisit the Windows ...

The Admin Development Model and Send-Snippet

One of the things that motivated us to develop PowerShell was the belief that we (Microsoft) had been doing a poor job supporting the Admin Development Model.  All the effort seemed to have gone into treating Admins as GUI-only users or as though they were developers that couldn't handle the complexity of parenthesis. ...

Sad State of Blogging Software

The state of blogging software is pretty sad.  I must be a harder problem than I can imagine (of course there are other explainations but I'll be gracious and go with that one for now.) I started a entry, got distracted and posted another blog entry.  The next day, I came to my computer and noticed that I hadn't ...

DIY: Ternary operator

<Changed DYI => DIY.  jps>   At Microsoft, "to ship is to choose".  One of the things we were very disappointed in not being able to ship in V1.0 is a ternary operator. Here is a description of a ternary operator from Wikipedia: Many programming languages that use C-like syntax feature a ternary operator...

Use Copy-Property to Make it Easier to Write, Read,and Review Scripts

<Updated script on 1/1/2007 to reflect fixes suggested by James Manning>  Dennis Verwiej is doing some great PowerShell work over at his blog Just PowerShell It at http://dverweij.spaces.live.com/ .   Recently he posted a blog entry Import Citrix Published Application in which he Imports a CSV file...

Documenting TRAP and THROW

We pride ourselves about being a bit overboard when it comes to Error handling.  That is why our sparse (non-existing?) documentation of THROW and TRAP handling is both ironic and sad.  10,000 apologizes for that, we'll fix it in the next release.  In the mean time, it's Don Jones amd Jeffery Hicks to the rescue. ...