PowerShell Team
Automating the world one-liner at a time…
Latest posts
ES24: Using PowerShell To Create Manageable Web Services
Attached are the slides I presented at the PDC. Enjoy! Jeffrey Snover [MSFT]Windows Management Partner ArchitectVisit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShellVisit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx ES24_Snover_v02.pptx
PowerShell_ISE and Visual Studio
Scott Fulton has a good article describing my PDC talk HERE. In it he says, "Starting with version 2, a user can conceivably write new PowerShell cmdlets in PowerShell, using the built-in IDE, completely independently of Visual Studio." This is true but there is more to the story so here it is. PowerShell's Integrated Scripting Environment (ISE) actually uses an editor control which uses the same technology that will be in the next version of Visual Studio. It is a great control and get's better and better with each snapshot we take. We need to stop taking snapshots long before VS because...
VI PowerScripter From icomasoft
icomasoft has just released VI PowerScripter. PowerScripter is a PowerShell based extension module to VMWare's VI Client. I have not seen it but looking at the online manual has got to make any admin start drooling. The thing I like about this so much is that it leverages both PowerGadgets and PowerGUI. This allows them to deliver a great experience to their customers without having to code it all themselves. As those products get better, their product gets better. Happy happy all around. I haven't used it (since I don't have a big VMWare environment [surprise :-) ]) so I...
574 Reasons Why We Are So Proud and Optimistic About W7 and WS08R2
In my previous blog post, I mentioned that we were all very proud and optimistic about W7 and WS08R2. There are tons of reasons for this including how well the project has been run, the hardcore focus on quality and performance, the great new features, etc. Another reason we are so optimistic is the availability of new cmdlets. There are so many teams doing so much good work with PowerShell that it would spin your head. Unfortunately - it is there news to tell not ours so we can have to bite our tongues and can't say anything. We'll know that the Pre-Beta is out, we had Dan Harm...
PDC Day 1
I love the PDC. You meet a ton of great people, see a ton of great technology and have time to think about how to take your game to the next level. The big announcement was Windows Azure (I don't know about you but when I say that, it makes my mouth feel funny). I thought Ray Ozzie did a good job explaining Azure as a new tier of computing. Windows as an platform to enable seamless experiences across a broad range of devices: phones/pdas, laptops/desktops/workstations, servers/clusters, web/cloud. Scott Hanselman's session really demonstrated the value of this ...
NY Times Delcares PowerShell to be 30% of the value of Windows 7 :-)
Wow - the NY Times is Johnny-on-the-spot with their analysis of the 10 best features of Windows 7 for IT Pros HERE. It turns out that PowerShell is responsible for 3 of them! Come review time, I'm telling my boss that we're responsible for 30% of the value of W7. :-) !!! Just to be clear - I'm totally joking. Windows 7 is an awesome release. It has a ton of great stuff in it. PowerShell IS awesome but it is a tiny just one of the huge wave of improvements. You'll decided for yourself but we are all extremely proud and optimistic about W7. Check it out:...
Another Great Don Jones Video Demo
This month's TechNet magazine has a great video demo from Don Jones where he uses WMI to generate a simple Software Inventory Report. The great thing about Don is his awesome ability to break things down into a series of simple steps. He does this by using Get-WMIObject from the command line and then goes through a series of scripts to illustrate various techniques that give you better and better results (more power, better composability). If you are an advanced scripter, you probably already know the techniques that Don is illustrating but this is a must see for people starting scripting - it ...
Emit-XML
I was writing a demo yesterday and needed a quick and dirty way to generate some XML so I wrote the function below. This highlights a couple of changes that are coming up in CTP3 that I thought I would preview. 1) The keyword "cmdlet" is going away and we'll just have "function". Notice that now you can specify the [Parameter()] attribute on parameters. When you do that, we treat the function like a cmdlet.2) Here-strings can now NEST! Look at how simple the code becomes when you do this. I think you are going to find this to be one of the mo...
GoGrid Snap-in – Managing Cloud Services with PowerShell
I was pleased to see Mitch Denny’s announcement and demo of a PowerShell snapin for GoGrid. GoGrid is a cloud-based, multi-tier grid hosting service leveraging virtual machines. The snapin is a shared source effort at CodePlex (there are now 52 PowerShell CodePlex Projects). Very cool stuff. What could go better together than cloud computing and PowerShell? At the end of the day, cloud computing is about managing at scale in a lights out fashion and end-administrator self-servicing. PowerShell is great at both of these and, as you’ll see at the PDC and our next CTP, PowerShel...