PowerShell Team

Automating the world one-liner at a time…

Exchange PowerShell Scripting Contest

You are one line of code away from fame and riches ... eeerrrr ... make that fame and a trip to New York.  The Exchange team is holding a scirpting contest.  Produce the coolest one line Windows PowerShell script and you can win a trip to New York to attend the Exchange 2007 launch.  Check out the details at http://www.microsoft...

Flexible pipelining with ScriptBlock Parameters

PSMDTAG:FAQ: How can I pipeline data to a parameter which does not accept pipeline input?PSMDTAG:FAQ: What are ScriptBlock Parameters? One of the foundation concepts of Windows PowerShell is pipelining objects instead of text.  What happens is that when an upstream command generates an object, the PowerShell engine examines the data ...

$ERRORVIEW="CATEGORYVIEW"

<Edited 7/2/2006 with tags and categories>PSMDTAG:FAQ: What is $ErrorView?PSMDTAG:FAQ: How do I get error details? Have you tried out $ErrorView="CategoryView" yet?  Remember -  errors are just objects.  Given that they are objects, we render a subset of their properties to the console.  We provide 2 views: ...

Windows PowerShell: Analyst briefing with RedMonk

I recently had the pleasure to do an analyst briefing with Michael Cote' of RedMonk.  I really enjoyed it because until recently Michael was working at BMC so we had a number of shared contacts and he had a deep understanding of mgmt issues so I could have a really technically dense conversation with him.  What was humorous was that ...

Using Format Control Strings.

PSMDTAG:FAQ: How do I display large numbers with commas?PSMDTAG:FAQ: How do I use .NET formatting strings? As scripters, we often spend tons of times trying to get our data formated just the right way.  Often this is an error-prone, frustrating experience.  Windows PowerShell leverages .NET objects to make this task a ton simpler.&...

TECHED: Start-Session Script

Before my TechEd sessions, I ran a Windows PowerShell script which used animated figures to inform the users how long it would be until the session would start.  It threw out some wisecracks along the way to keep things light and maintain their attention.   A number of people asked me to post the script in the blog.  I'm a ...

TechEd Superstars: MOW, Jones, and Hanselman

Boy did I have a great time at TechEd!  On Sunday, I got to finally meet Mark Van Orsouw (MOW of  http://mow001.blogspot.com/ fame) and we both ran into Scott Hanselman ( of http://www.hanselman.com/blog/ fame).  It was a blast to spend a couple hours sharing scripts, tips and favorite features.  It ...

Tom's Hardware Windows PowerShell article

Check out Scott Fulton's latest article about my Windows PowerShell talk at TechEd.  You can also see pictures of the only tie worn at TechEd Boston! :-) http://www.tgdaily.com/2006/06/14/teched2006_powershell_may_underlie_admin_guis/ For those of you who aren't already Tom's Hardware fans (it has long been one of my favorite sites...