PowerShell for Windows Admins:

PowerShell v2


May 1, 2011  12:25 PM

PowerShell Deep Dive: VI WQL Query Speed–Remote



Posted by: Richard Siddaway
PowerShell v2, WMI

Looking at WQL query vs a Get-WmiObject filter on the local machine we saw that they were practically the same. If we used a where-object to do the filtering it took nearly twice as long.

I wanted to repeat these runs against a remote machine.  I use two Windows 2008 R2 servers for...

May 1, 2011  4:13 AM

PowerShell Deep Dive: V WMI associations



Posted by: Richard Siddaway
Network, PowerShell v2, WMI

NOTE: If you are wondering why the Deep Dive posts are non-consecutive – they are part of a longer series posted here

Bookmark and Share     0 Comments     RSS Feed     Email a friend


April 30, 2011  12:02 PM

PowerShell Deep Dive III: WQL query speed



Posted by: Richard Siddaway
PowerShell v2, WMI

One topic that came up during my talk at Deep Dive was the speed of running a WQL vs using –Filter in Get-WmiObject.  I’d never tested it so its time to find out.

PowerShell v2 has a handy cmdlet called Measure-Command that times how long a command runs

We’ll start...


April 29, 2011  3:28 AM

PowerShell Deep Dive: II Win32_Volume



Posted by: Richard Siddaway
Disks, PowerShell v2, WMI

One question that I was asked at the deep dive -

Is there a way to link a disk volume back to the physical disk it resides on?

There doesn’t seem to be. If we test the WMI classes associated with a volume we get these results

Win32_Directory
Win32_QuotaSetting...


April 26, 2011  1:08 PM

System Stability part II



Posted by: Richard Siddaway
Operating System, PowerShell v2, Windows 2008 R2, Windows 7, WMI

Last time we looked at the Win32_ReliabilityStabilityMetrics and closed by stating we’d look at the reliability records.  Reliability records are event log records related to system reliability.  The working part of the record is shown below (after the system properties are...


April 13, 2011  12:58 PM

Tuesday’s recording



Posted by: Richard Siddaway
PowerShell v2, User Group

The recording from Tuesdays UG meeting is available.

Richard Siddaway has invited you to view a Microsoft Office Live Meeting recording.
View Recording
Recording Details


April 9, 2011  2:29 AM

Scripting Games 2011 commentary ||: top 10 mistakes



Posted by: Richard Siddaway
PowerShell v2

See this excellent for tips on what not to do when writing PowerShell scripts

Bookmark and Share     0 Comments     RSS Feed     Email a friend


April 8, 2011  3:15 PM

Scripting Games 2011 commentary I: Line continuations



Posted by: Richard Siddaway
PowerShell v2

No I’m not going to give you the answers – you’ll just have to wait until the events close.

During (and possibly after) the games I’m going to comment on some of the things I’ve noticed about PowerShell usage.

I want to start with breaking a PowerShell line across...


April 1, 2011  12:39 PM

PowerShell and VMware book



Posted by: Richard Siddaway
Books, PowerShell v2, Virtualisation

My good friends Jonathan Medd and Alan Renouf (together with a number of co-authors) have just had their book “VMware vSphere PowerCLI Reference: Automating vSphere Administration” published. More details on the book contents and for a chance to win a copy visit


April 1, 2011  11:59 AM

MVP award 2011



Posted by: Richard Siddaway
PowerShell v2

I received the email this afternoon to tell me my PowerShell MVP award has been renewed for another year. Its a great honour to receive an MVP award and I’d like to thank Microsoft for the award and the PowerShell community for the opportunities that have lead to the award.


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: