Articles

PowerShell articles, tutorials, and guides from community experts.

Richard Siddaway

New book

My latest book has been released on the Manning Early Access Program (MEAP). Active Directory Management in a Month of Lunches takes the newcomer to AD through the tasks they need to perform to manage their organization"™s AD. it assumes no knowledge of AD and shows how to perform the common …

Richard Siddaway

CIM cmdlets and remote access

When you used the WMI cmdlets Get-WmiObject -Class Win32_logicalDisk -ComputerName RSLAPTOP01 You were using DCOM to access the remote machine. Even if you accessed the local machine you were using DCOM. This changes in PowerShell v3 when using the CIM cmdlets. If you don"™t use a computername …

Richard Siddaway

Filtering

I"™ve been grading the scripts in the warm up events for the Scripting Games and noticed a lot of people doing this: Get-WmiObject -Class Win32_LogicalDisk | where {$_.DriveType -eq 3} Ok now it works but there are a couple of things wrong with this approach. Firstly, you are ignoring the built …