PowerShell Team

Automating the world one-liner at a time…

Tip of the Day

Exchange 2007 has implemented a Get-Tip cmdlet which emits a tip of the day.  Flaphead has written a small script which gets them all and has published them on: http://blog.flaphead.dns2go.com/archive/2006/08/17/3514.aspx.  There are a number of general tips along with the Exchange tips.  Here is an example: Tip of the day #29...

Writing and Reading info from Serial Ports

PSMDTAG:FAQ: How do I read/write data from a Serial Port? Writing to a Serial Port PS> [System.IO.Ports.SerialPort]::getportnames()COM3PS> $port= new-Object System.IO.Ports.SerialPort COM3,9600,None,8,onePS> $port.open()PS> $port.WriteLine("Hello world")PS> $port.Close()Reading from a Serial Port PS> $port= new-Object System....

Background "jobs" and PowerShell

A lot of people have asked whegther Windows PowerShell can do UNIX job handling.  The paraphrase an old management salesperson joke, "YES - YOU can do UNIX job handling with Windows PowerShell" (which means you have to do it yourself).  Jim Truher shows you how in his latest blog entry: http://jtruher.spaces.live.com/...

Automating Dell Battery Replacement Discovery

MOW has done it again.  Checkout his blog entry which shows how to leverage Windows PowerShell to automate determining which of the Dell laptops in your enterprise need to have their batteries replaced. http://mow001.blogspot.com/2006/08/powershell-has-my-dell-dangerous.html Totally cool.  Jeffrey Snover [MSFT]Windows ...

PowerShell Namespsaces

A summary of the Namespaces PowerShell defines and uses.   System.Management.Automation System.Management.Automation serves as the root namespace for PowerShell.  The namespace contains the types a developer would use to implement a Cmdlet.   Sub-namespaces are defined for specific sections of the API that are used by specific ...
Comments are closed.0 0
SDK

Exchange 2007 Windows PowerShell Script Contest

Josh Maher has an exchange oriented blog at http://joshmaher.wordpress.com/ .  He is running a contest to for the best Exchange 2007 script ( http://joshmaher.wordpress.com/2006/08/25/powershell-scripting-for-exchange-2007/ ) and I offered to donate the prize of a copy of Bruce Payette's book PowerShell in Action ( http://...
Comments are closed.0 0

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 ...
Comments are closed.0 0

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...
Comments are closed.0 0

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/...
Comments are closed.0 0
MoW

New community project created for Windows PowerShell Extensions

We have worked with CodePlex team to create a new Community Project for Windows PowerShell.   Keith Hill, MVP for Windows PowerShell, will be the project coordinator.  Microsoft employees won't be able to participate in the community projects directly due to legal issues. However, I sincerely hope that community participates in ...