PowerShell for Windows Admins:

March, 2014


March 31, 2014  4:03 AM

DSC resource kit wave 3

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Desired State Configuration (DSC) is the new server configuration and compliance mechanism that ships with PowerShell 4.0 and Windows Server 2012 R2. Resources are the way you perform configuration. Now you have more options with the release of wave 3 of the DSC resource kit. Details from

March 31, 2014  2:18 AM

Last few days to register

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Reaching the end of March there’s not much time left to register for the PowerShell Summit NA 2014 - Bookmark and Share     0 Comments     RSS Feed     Email a friend


March 28, 2014  2:35 PM

Discovering namespaces

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Next point on the journey of discovery through CIM is finding the namespaces installed on a machine. I showed how to do this using Get-WmiObject in PowerShell and WMI but this time round decided to come up to date and use Get-CimInstance function get-cimnamespace { param...


March 27, 2014  2:49 PM

Improving CIM/WMI method discovery

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

I recently showed how to create a function that could be used to simplify the use of Get-CimClass. In this version I’ve added some features: - parameter validation - namespace - try-catch round getting the class information. This turns the code into: function Get-CimMethod...


March 25, 2014  2:21 PM

Deal of the Day–26 March

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Tomorrow – 26 March – several PowerShell books will feature in Manning’s Deal of the Day: PowerShell in Depth 2E PowerShell and WMI PowerShell Deep Dives   All highly recommended and full of PowerShell goodness


March 24, 2014  12:30 PM

A little bit of community

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

One thing I really like about the PowerShell community is the number of people who share information and the way that allows us to incrementally increase our knowledge and skills. This can lead to the situation where you can take ideas from two very separate people, from two different times and put...


March 23, 2014  4:51 AM

Discovering CIM/WMI methods and parameters

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

As you’ve probably gathered I spend a lot of time working with, and investigating, CIM (WMI) classes. CIM and WMI will be treated as synonymous for these articles. If you want to discover the methods available on a CIM class you can do this: $class = Get-CimClass -ClassName...


March 21, 2014  12:39 PM

DSC, Windows 2012 R2 and GA

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Windows 2012 R2 GA (General Availability) occurred in October 2013. Downloads of the Windows 2012 R2 RTM release were made available on MSDN before that time however there were some changes made between RTM and GA that have a significant impact on Desired State Configuration – it breaks on most...


March 20, 2014  12:36 PM

Where’s the value

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

PowerShell is object based – its the one fact that is mentioned in very introduction to PowerShell – and its the use of objects that gives PowerShell its reach and power. The use of objects has one tiny drawback. When you want the actual value of a property you have to do slightly more...


March 19, 2014  8:33 AM

Give me a break

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Having shown how to use continue last time I thought I’d show the opposite functionality this time and demonstrate how to jump out of a loop. You do this using the break command.  The following examples show how it works. What do you think the output of these loops will be? FOR loop for...


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: