PowerShell for Windows Admins:

PowerShell v2


May 26, 2010  12:29 PM

PowerShell in Practice ebook deal



Posted by: Richard Siddaway
Books, PowerShell v2

I know there isn’t much of today left but if you are quick its possible to get an ebook version of PowerShell in Practice for $15.  See the deal of the day at http://www.manning.com/

May 24, 2010  3:14 PM

Query me no more



Posted by: Richard Siddaway
PowerShell v2, WMI

One of the things I noticed in the recent Scripting Games was that a lot of the scripts would do things like this

$query = "Select MaxClockSpeed from Win32_Processor"
$proc = Get-WmiObject -Query $query
Write-Host "Speed: " $proc.MaxClockSpeed

...


May 21, 2010  12:52 PM

Quick ping



Posted by: Richard Siddaway
Automation, PowerShell v2, WMI

If you’ve used ping before you’ll know that it normally returns four replies from the target.  In PowerShell we have Test-Connection which does the same job. It also normally returns four replies.

When I’m working with remote machines I often want to check they are available...


May 18, 2010  2:09 PM

UG May 2010 Recording, Slides and demo



Posted by: Richard Siddaway
PowerShell v2, User Group, WMI

Thank you to everyone who joined the Live Meeting this evening. Hope you enjoyed the session on PowerShell events.

The slides and demo files are available from

Bookmark and Share     0 Comments     RSS Feed     Email a friend


May 15, 2010  8:41 AM

hey ho hey ho its off to print we go



Posted by: Richard Siddaway
Books, PowerShell v2

PowerShell in Practice will be going to the printers next week.

Between now and 21 May 2010 you can get 40% off of PowerShell in Practice (and other Manning books that are in the final stages of production)

Use promotional code m1440 at checkout from


May 12, 2010  3:06 PM

WMI and the Registry



Posted by: Richard Siddaway
PowerShell v2, Registry, WMI

We can use WMI to access the registry on local and remote machines – if you remember back to VBScript it was the way to access the registry. In PowerShell we have a couple of PowerShell drives available  through the provider Name          ...


May 4, 2010  3:07 PM

String Substitution with WMI



Posted by: Richard Siddaway
PowerShell v2, WMI

String substitution is one of my favourite bits of PowerShell. If you’ve not seen it before the idea is that you can substitute a variable into a double quoted string.  Note that single quote strings won’t work. As an example PS> $colour = "red" PS> "The balloon is $colour" The...


May 3, 2010  1:05 PM

PowerShell UG May 2010



Posted by: Richard Siddaway
PowerShell v2, User Group

When: Tuesday, May 18, 2010 7:30 PM (BST)

Where: Live Meeting 

*~*~*~*~*~*~*~*~*~*
PowerShell eventing using WMI, .NET and the PowerShell engine Notes Richard Siddaway has invited you to attend an online meeting using Live Meeting.


May 2, 2010  10:06 AM

Ping, Ping, Ping



Posted by: Richard Siddaway
PowerShell v2, WMI

If you’ve used VBScript in the past you will remember using Win32_PingStatus to test the connectivity to a remote machine. In the 2010 Scripting Games we’ve seen a lot of scripts testing if a remote machine can be contacted.

Many of the scripts contain code of the form

$query...


April 25, 2010  9:35 AM

PowerShell Admin Modules



Posted by: Richard Siddaway
PowerShell v2, PSAM, Shares

I have created the first download for the PowerShell Admin Modules. This will be a set of of modules including code previously published on my blogs at:

Bookmark and Share     0 Comments     RSS Feed     Email a friend


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: