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]Windows ...
NOTE: The site must be in the Trusted Sites Zone for this script to work - James Brundage [MSFT] January 5th, 2009
The following example shows how to display all the processes in an IE window and highlight the ones with memory usage of greater than or equal to the specified value.
$oIE=new-object -com internetexplorer.application$oIE.navigate2...
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 maniac (...
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 downloa...
TechNet has made the provided videos of the top rated sessions of the TechEd 2006 Boston conference available at: http://www.microsoft.com/emea/itshowtime/
My talk: Windows PowerShell: Next Generation Command Line Scripting is available at:
http://www.microsoft.com/emea/itsshowtime/sessionh.aspx?videoid=209
Enjoy!
Jeffrey Snover [MSFT]Windows Power...
When I lived in Colorado, I picked up the great concept/phrase, "All crosshairs on the same prairie dog". Damon Cortesi recent blog highlights this principle.
http://dcortesi.com/2006/09/07/windows-powershell/
He posted a blog about the verbosity of PowerShell and within an hour - we had 3 PowerShell people post comment...
I often want to find things that happened Today. For instance, which files got changed today. Windows PowerShell makes this easy to do but it can be a bit verbose and I do it a lot so I've added a function to my profile: IsToday.
function isToday ([datetime]$date) {[datetime]::Now.Date -eq $date.Date}
This takes advant...
Tomas Restrepo has a nice script for getting/starting/stoping BizTalk Server Applications at: http://www.winterdom.com/weblog/2006/09/02/BTSResetWithPowerShell.aspx
I like how readable it the script is. It is completely obvious what is going on. Compare that script with his original C# implementation at: http://www.winterdom.com/weblog/...
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:Tab ...
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.IO.Po...