PowerShell Team

Automating the world one-liner at a time…

Get-USB – Using WMI Association Classes in PowerShell

Last Thursday, we had our first meeting of PowerShell Script Club on the Microsoft Campus. Script Clubs are really cool. They're kind of like a hands on lab with no set topic or teacher. You bring an idea for a script, and ask your fellow PowerShell users about help getting the script written.  Leave a comment if you’d like to set up a ...

Beta of Windows Server 2008 R2 is now Available

Want a couple hundred new cmdlets?  Download the beta version of Windows Server 2008 R2 and check out all the cmdlets that we've been dying to talk about but have not been able to.  Also, take a look at what is missing and complain early, often and loudly.  And of course -don't forget to blog about what you find. Download ...

Multiple Shell Reference Guide

Sylvain Galineau just sent me a pointer to a cool site which has reference information for multiple shells:  CMD, PS, BASH, ORACLE, and SQLSERVER.  It's not complete but it is a nice reference point.  Enjoy it HERE.   Thanks Sylvain! Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows ...

Case Insensitivity

This VIDEO explains the real reason why PowerShell is case-insensitive.  (just joking - the video is deadly funny!). 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://...

Manage winrm settings with wsman provider

PowerShell remoting is built on top of Windows Remote Management (WinRM), which is Microsoft’s implementation of WS-Management protocol. You can use winrm.cmd command line tool to query and manage winrm settings. PowerShell V2 CTP3 contains a wsman provider for you to manage winrm settings with the standard *-Item cmdlets . Let’s try it ...

Checkout Out-WPF

Joel (Jaykul) Bennett has a cool post HERE where he is experimenting with some GUI scripting toolkits and a utility Out-WPF.  You can also checkout a Screencast of Out-WPF working HERE.  It is very cool and very short so give it a look-see. Scripting GUIs with PowerShell is going to be a REALLY BIG DEAL going forward. Jeffrey ...

Invoking Methods Using Variables

You can have a lot of fun with PowerShell.  Makes sense right - we're busting our butts off and we get to define it so why wouldn't we make it fun? Your busting your butts off at your job as well so why shouldn't your tools be fun?  Right? In particular, our late binding of names allows you to do some really cool, really powerful...

Revisiting Old Posts: Get-Process | Dir (about ValueFromPipelineByPropertyName)

A number of PowerShell MVPs and PowerShell team members are helping me to compile a table of contents for our blog, which basically means that I’m getting to go back and revisit all of the fun stuff posted to the PowerShell blog over the past few years.  It’s a fun an educational process, and, hopefully, when we’re done the blog ...