PowerShell Team

Automating the world one-liner at a time…

TECHED: IT Forum

We are putting together our plans for TECHED IT Forum being held in Barcelona from Nov 14-17.  I'll be there as well as a number of other people from the Windows PowerShell team.  We'll be showing some new and very exciting stuff so if you are an IT Professional in Europe - I hope I'll see you there! http://www.mseventseurope.com/...

Get-Process Piped to Dir

Did you know that you can pipe the output of Get-Process into dir?  Don't believe it?  Let me prove it: PS> Get-Process wi*Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName-------  ------    -----   &...

The Wonders of Date Math using Windows PowerShell

Larry Hayden posted a query about dates at:http://techtasks.com/bookmarks/powershell/2006/09/interview-with-a-scripter-jeffrey-snover/ He has a script which gets all the Application Events that happened TODAY: ————————————————————$today = [DateTime]::Today$Events = Get-Eventlog -New 1024 Application | ...

ErrorLevel equivalent

PSMDTAG:FAQ: ErrorLevel - what is the PowerShell equivalent? In Cmd.exe, %ErrorLevel% is a builtin variable which indicates the success or failure of the last executable run. In PowerShell, we support:     $?       Contains True if last operation succeeded and False otherwise.And   &...

Draft – Creating Cmdlet Help

NOTE: This content is also included as an RTF attachment as well. Creating Cmdlet Help When creating your own cmdlet, you can also create Help content that Windows PowerShell can display using the Get-Help cmdlet. The Help content that describes your cmdlet can include a description of the cmdlet, the syntax used by your cmdlet, ...

Windows PowerShell on TechNet Radio

Tune in & Geek out at Technet Radio: http://www.microsoft.com/technet/community/tnradio/default.mspx There are a couple of PowerShell podcasts there: Drill down into Windows PowerShell: An interview with Jeffrey Snover Scripting with Windows PowerShell: An interview with Vivek Sharma and Mihai Jalobeanu Enjoy! Jeffrey Snover [MSFT]...

Thomas Lee on Monad (Windows PowerShell)

The site that has the Best of TECHED Boston also has the BEST of other shows as well.  I'm not sure when/where Thomas gave this talk but I just watched it and it is highly entertaining.  It's clear that Thomas has been in front of crowds a couple of (thousand) times.  For those of you that don't already know Thomas - he is a ...

FREE Windows PowerShell Help Tool from Sapien

Command line help is great because it is always there when you need it.  That said, sometimes you want to have the help in one window while you experiement in the other.  You can always do that with 2 console windows but why would you do that when you can download Sapien's FREE Windows PowerShell help tool.  They have a ...