PowerShell Team

Automating the world one-liner at a time…

Tonight is the Virtual Launch Party @ PowerScripting Podcast

Tonight is the night!  I was super happy when we shipped V1 of PowerShell.  It started the journey.  That said, V2 is the release that we really wanted to release.  Today Windows 7 is publicly available and every version has PowerShell V2 in it.  Tonight – we party! I’ll be cracking a beer with Hal ...

PowerShell V2 Virtual Launch Party

I’ll be joining Hal Rottenberg and Jonathan Walz (hosts of the PowerScripting Podcast) in a PowerShell V2 Virtual Launch Party this Thursday, Oct 22nd, 9:30 PM EDT (GMT-4).  For more details and info on how to join us go HERE. Hmmm, I wonder if it is BYOB… :-) Experiment!  Enjoy!  Engage! Jeffrey Snover [MSFT] ...

Announcing: Open Source PowerShell Cmdlet and Help Designer

http://www.codeplex.com/CmdletDesigner During the development of Windows 7, most cmdlet design and help authoring in Microsoft went through an internal tool called the “Cmdlet Designer.” (image) The Cmdlet Designer makes it much easier for teams to concentrate on the design, naming, and consistency of their cmdlets, while also ...

Introducing the Windows 7 Resource Kit PowerShell Pack

Since I work on the PowerShell team, I’ve been lucky enough to get a couple of years jump start on producing PowerShell V2 scripts and modules.  With every new script I write in V2 I get more and more amazed by the possibilities in PowerShell.  I’ve discovered how to do many cool things that, as some of my colleagues outside of ...

What's Up With Command Prefixes?

We like to say that PowerShell uses Verb-Noun naming.  If we were accurate, we would say that PowerShell uses Verb-PrefixNoun naming.  For instance: Get-WinEvent .  WIN is a prefix for Windows.  Every now and again people look at this and ask “what's up with command prefixes ?!?”.  Actually, the question usually ...

Remoting for non-Admins

Per Østergaard has a great blog entry with all the steps for enabling this HERE.  You’ll want to bookmark this one.  :-)   Enjoy! Jeffrey Snover [MSFT] Distinguished Engineer Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at...

Select –ExpandProperty <PropertyName>

Most of us are familiar with the traditional use of Select –ExpandProperty <propertyname>.  This takes a the value of an incoming object, enumerates its values and outputs each of those values as a single record on the output stream after adding any properties specified by the –PROPERTIES <propertyname[]> parameter.  ...

The Glory of Quick and Dirty Scripting

One of the things I want us to consider doing in the future is to leverage our Universal Code Execution infrastructure to execute any kind of code. For example, imagine that I have some script foo.vbs, I’d like to do the following: PS>  Invoke-Command –FilePath foo.vbs –computer (cat servers.txt) I was about to file a record ...

What’s New in PowerShell V2 – By Joel “Jaykul” Bennett

PowerShell MVP Jaykul gave a presentation to the NY PowerShell user group and was kind enough to post the text of his slides HERE.  One of the problems I have in talking about V2 is that there is SO much good stuff that I often get the levelling wrong – spending too much time on one area and then needing to skip over others.  ...

Analyzing Weblog Data Using the Admin Development Model

Someone just tweeted a link to Scott Hanselman’s 2007 blog (an oldie but goodie) about how he used PowerShell to analyze the WebLog data from his podcasts.  He provides a beautiful example of I like to call the “Admin Development model”.  The whole point of the Admin Development Model is that you use tools to quickly and ...