PowerShell Team

Automating the world one-liner at a time…

Windows PowerShell RC2 Release Notes (DRAFT)

We are finishing up work on Windows PowerShell RC2.  While I can't announce an availability date at this point, I know that a lot of you are eager to see what is coming.  I think you'll be pleased.  Here are our draft release notes for RC2.  Note that this documents the major changes and not the bugfixes.   Jeffrey ...

Fun with PowerShell – character manipulation…

I was investigating a localization test failure today and ran into the following error message:   'actual error is 慌爠捡湩⁥敤氠捥整牵긠䗿尺꿿渠攧楸瑳⁥慰⁳畯渠攧瑳瀠獡甠潤獳敩⹲਍, expected '   Since it was failing in the French locale, getting what appeared to be a Chinese error message didn’t...

More Windows PowerShell and Active Directory

Superstar MOW is at it again with his 7th! blog on using Windows PowerShell and Active Directory.  Check it out at: http://mow001.blogspot.com/2006/08/powershell-and-active-directory-part-7.html Jeffrey Snover [MSFT]Windows PowerShell/Aspen ArchitectVisit the Windows PowerShell Team blog at:    http://blogs.msdn.com/...

More Windows PowerShell Training Available

Don Jones, of ScriptingAnswers.com, is holding two two-day classes on Windows administrative scripting in Chicago and Seattle this September. While the first day of each class will focus on advanced VBScript techniques, the second day will be entirely devoted to Windows PowerShell. No prior PowerShell experience is necessary—Don plans to ...

Windows PowerShell and the “PowerShell Worm”

Updated Aug. 5th, 2006: The Microsoft security folks have finished their full technical analysis of the worm. You can read their analysis in the Malicious Software Encyclopedia.   A “PowerShell Worm” has recently been reported by several antivirus companies and some news organizations. There has been some confusion and ...

Joel-On-Software on the power of a good language

Joel Spolsky of Joel-On-Software fame, just posted a blog, "Can Your Programming Language Do This?" http://www.joelonsoftware.com/items/2006/08/01.html In this article, he drives home the point that when it comes to code: Maintainability, Readability, Abstraction == Good!  He then points out how languages can help or hinder this and goes ...

ScriptCenter EventLog Article

ScriptCenter has a very good article exploring the use of Windows PowerShell to analyze your eventlogs.  Check it out at: http://www.microsoft.com/technet/scriptcenter/topics/msh/cmdlets/get-eventlog.mspx PSMDTAG:CMDLET: Get-EventLog PSMDTAG:FAQ: EventLog - How do I find out what event logs exist?  ANSWER: Get-EventLog -list ...

Scott Hanselman's Beantown.Net presentation

Scott Hanselman is a superstar presenter.  Here is a link to a video of presentation he gave to the Beantown.net users group in boston that focused on Windows PowerShell.  Even if you are a longtime PowerShell user, I encourage you to watch this because Scott provides some great ways to think about things.  http://www.wrox...

Encoding Operations Knowledge

One of the primary goals of Windows PowerShell is to encode operations knowledge.   Consider the example of finding out what domain role a computer plays.  If you look at the WMI class WIN32_COMPUTERSYSTEM, you'll see that it tells you this information:   PS> Get-WMiObject Win32_computerSystem |fl dom*Domain &...