PowerShell Team

Automating the world one-liner at a time…

Latest posts

Aug 22, 2007
Post comments count 0
Post likes count 0

Shared Source PowerShell Projects

PowerShell Team

Someone has compiled a list of the 25 Most Active Projects in CodePlex. PowerShell has 2 entries in that list. Congratulations to: PowerShell Community Extensions - provides a widely useful set of additional cmdlets, providers, aliases, filters, functions and scripts for Windows PowerShell that members of the community have expressed interest in but didn't make it into PowerShell v1.0. Examples of these cmdlets are Get-Clipboard, Out-Clipboard, Get-Hash, Get-ShortPath, Set-FileTime, New-SymLink, Format-Hex, Format-Xml, Test-Xml, Test-Assembly, Ping-Host, etc. And PoshConsole - a more modern PowerShell Console...

Aug 15, 2007
Post comments count 0
Post likes count 0

Preview of PowerShell Plus

PowerShell Team

The fine folks at Shell Tools just released a preview of their upcoming PowerShell Plus interactive shell – a 4 minute trailer to hint at things to come. http://www.powershell.com/plus In PowerShell V1,  working within a decades-old console host is what users find the most frustrating. That frustration doesn’t go unnoticed, and was even expected. As Jeffrey likes to say, “To ship is to choose.” We made a conscious decision to build upon the current console subsystem. We placed priority on engine features, the scripting language, cmdlet and provider framework, and everything else you know and love about Power...

Aug 3, 2007
Post comments count 0
Post likes count 0

Tower Of Power

PowerShell Team

PowerShell has a lot of books to choose from and more are coming.  See attached.  :-) 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 Tower-Of-Power.jpg

Aug 1, 2007
Post comments count 0
Post likes count 0

Get-WmiChildNameSpace

PowerShell Team

I got sick of fiddling around with WMI namespace so I produced a really simple script to cope with this. I call it Get-WmiNamespace:  PS> cat .\Get-WMIChildNameSpace.ps1param ($Namespace="root\cimv2", $Computer=".", $Column=4)Get-WmiObject -Computer:$Computer -NameSpace:$NameSpace __NameSpace |Format-Wide -Column:$ColumnPS>PS> .\Get-WmiChildNamespace.ps1Security SMS ms_409 TerminalServicesApplicationsPS> .\Get-WmiChildNamespace.ps1 -namespace root -column 5subscription DEFAULT MicrosoftDfs CIMV2 Clinap MicrosoftIISv2 SECURI...

Jul 16, 2007
Post comments count 0
Post likes count 0

Get-Help Can't Find My Help File!

PowerShell Team

(or How to Define the Help File Name in a Custom Windows PowerShell Snap-in)   We've discovered an error in our instructions for creating a custom Windows PowerShell snap-in. This error prevents Get-Help from finding the help files for cmdlets in the snap-in. We'd like to come clean about our mistake and to warn you about the effects of copying it.   This error also revealed that custom snap-in developers determine the names of the help files for their cmdlets. As such, we need to revise our previous instructions for naming help files, because they apply only to standard snap-ins.     The Bug...

Jul 16, 2007
Post comments count 0
Post likes count 0

Working with WMI Events (2)

PowerShell Team

This post builds on Jeffrey's post on wmi events - http://blogs.msdn.com/powershell/archive/2007/01/28/working-with-wmi-events.aspx Powershell V1 does not give a cmdlet to support WMI events, I have written a simple powershell script to help users who want to write monitoring with powershell  for V1(Please see attached.) (A brief intro of WMI events at the end of the post for the uninitiated) Get-WMIEvent (or "gwe" alias) - It takes these arguments – $class – Event class$Path – Namespace path. Defaults to root\cimv2$query – Notification query$Timeout – Timeout for the query$Credential – Credentials f...

Jul 13, 2007
Post comments count 0
Post likes count 0

Congratulations to Quest Software

PowerShell Team

We just held a partner Conference in Denver. We give awards to recognize those partners that really "get it" and are able to take our technologies and use them to develop great customer solutions. Quest Software was awarded Global ISV Partner of the Year for their adoption and great use of PowerShell! Great things happen because of great people. People that hear the same thing as everyone else but are able to see an opportunity that others don't. I remember BillG once saying "vision is cheap" so just seeing an opportunity is not enough. The superstars are those people that can make visions real, to take the...

Jul 13, 2007
Post comments count 0
Post likes count 0

Virtual Server

PowerShell Team

Ben Pearce has a posted a nice deck describing how to manage Virtual Server with PowerShell. Check it out HERE. 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

Jul 2, 2007
Post comments count 0
Post likes count 0

Cmdlets vs. APIs

PowerShell Team

Some people have asked the question, "Why Cmdlets?". If you already have a reasonable API, what is the value in writing Cmdlets? I'll provide a quick answer here but we should probably include a good write up of this in our documentation. The most important thing to realize about cmdlets is that it is all about mindset and attitude. The mindset of a cmdlet designer is that there is an "Admin at the keyboard" and the attitude is "we are going to do whatever it takes to provide that person an optimal user experience". The entire PowerShell engine is designed to make it easy for people to succeed at doing just that...