PowerShell for Windows Admins:

December, 2012

December 10, 2012  2:25 PM

Get-CimClass changes

Posted by: Richard Siddaway
CIM, PowerShell 3, WMI

One thing that I don’t think I’ve mentioned is that the Get-CimClass output changed during the development process.

In PowerShell v3 RTM you can dig into a WMI class like this

Get-CimClass -ClassName Win32_OperatingSystem | select -ExpandProperty CimClassMethods

December 9, 2012  1:10 PM

Reminder–PowerShell Jobs session

Posted by: Richard Siddaway
PowerShell, User Group

Quick reminder that this coming Tuesday the UK PowerShell group presents a session on PowerShell Jobs

Details from

Bookmark and Share     0 Comments     RSS Feed     Email a friend

December 9, 2012  3:41 AM

Bulk modifications using Set-AdUser

Posted by: Richard Siddaway
Active Directory, PowerShell


The standard approach to the bulk modification of users is to create a CSV file with an identifier and the data you want to change. Here’s part of a CSV file that could be used to modify some AD attributes – Division, City and Office


December 7, 2012  11:28 AM

Amazon does PowerShell

Posted by: Richard Siddaway

A suite of PowerShell cmdlets for managing Amazon Web Services has been released

Bookmark and Share     0 Comments     RSS Feed     Email a friend

December 5, 2012  1:31 PM

Counting the members in an AD group

Posted by: Richard Siddaway
Active Directory, PowerShell

A question came up on the forum about counting the number of members a group has.  There are a number of ways of doing this but this is one of the easiest

$data = @(			

December 3, 2012  4:58 PM

Comparing group membership

Posted by: Richard Siddaway
Active Directory, PowerShell, PowerShell 3

A question on the forum asked about comparing the memberships of two groups & displaying information about the users that are in both. The normal reaction is that you have to iterate through the two groups but then I remembered Compare-Object and came up with this


December 3, 2012  3:02 PM

How to give yourself an ulcer in one evening or why Word remains minimised on the Taskbar

Posted by: Richard Siddaway
Office 2013

I have just spent an extremely frustrating 3 hours trying to figure out why Word 2013 remained minimised on the task bar of my Windows 8 machine. Everything else opened up correctly including other Office applications such as Excel and PowerPoint.

I checked on other machines and it...

December 2, 2012  7:36 AM

PowerShell–jobs and scheduled tasks–date change

Posted by: Richard Siddaway
PowerShell, User Group

I’ve had to move the Live Meeting to Tuesday 11 December

When: Tuesday, Dec 11, 2012 7:30 PM (GMT)



PowerShell jobs provide the ability to perform long running background tasks. With the introduction of cmdlets to schedule tasks...

December 2, 2012  5:39 AM

Defining Active Directory Identity with PowerShell

Posted by: Richard Siddaway
Active Directory, PowerShell

There are two sets of cmdlets for working with Active Directory – Microsoft and Quest. Unfortunately they offer slightly different options for defining the identity of the user you want to work with.

The Microsoft cmdlets offer these options:

Distinguished Name = "CN=GREEN...

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: