PowerShell for Windows Admins:

August, 2011

August 7, 2011  9:26 AM

MSDiskDriver classes

Posted by: Richard Siddaway

The root\wmi namespace contains four MSDiskDriver related classes

gwmi -Namespace root\wmi -Class msdiskdriver* -List | select name




August 5, 2011  1:11 PM

Change Volume Label

Posted by: Richard Siddaway

While we are looking at disks I’ll add this function to the mix

function set-volumelabel {            

				Bookmark and Share



				  RSS Feed

				  Email a friend


August 5, 2011  11:58 AM

Setting the drive letter

Posted by: Richard Siddaway

I’ve been working on some WMI  functions for disks recently. First off setting the disk drive letter.

function set-driveletter {            


				Bookmark and Share



				  RSS Feed

				  Email a friend


August 4, 2011  1:40 PM

Authentication, Impersonation and Privileges

Posted by: Richard Siddaway
PowerShell v2, WMI

So, you want to use a new WMI namespace you have discovered that lets you work with IIS.

PS> Get-WmiObject -Namespace 'root\webadministration' -List -ComputerName web01
Get-WmiObject : Access denied
At line:1 char:14
+ Get-WmiObject <<<< ...

August 3, 2011  2:36 AM

Network speeds–the faster ones

Posted by: Richard Siddaway
PowerShell v2

Quick update to

Bookmark and Share     0 Comments     RSS Feed     Email a friend

August 2, 2011  9:02 AM

Using enums

Posted by: Richard Siddaway
PowerShell v2, WMI

Following on my post about using enums http://msmvps.com/blogs/richardsiddaway/archive/2011/08/02/enums.aspx

I thought it...

August 1, 2011  7:06 AM

PowerShell Admin Modules

Posted by: Richard Siddaway

Just been checking the stats on the PowerShell Admin Modules - http://psam.codeplex.com/ – and this month its reached over 1000 downloads.

I have a couple of updates in the pipeline that should be available...

August 1, 2011  6:57 AM

Where to select

Posted by: Richard Siddaway
PowerShell v2, WMI

Using select-object (aliased to select in common usage) to reduce the number of properties passing into further processing is a common aspect of using PowerShell. However, its not the only place we can do it.

Consider this scenario.

We need to test the network client on a number...

August 1, 2011  6:44 AM

Network client

Posted by: Richard Siddaway

Need to test the network client?

PS (6) > Get-WmiObject -Class Win32_NetworkClient

__GENUS          : 2
__CLASS          : Win32_NetworkClient ...

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: