Monthly Archives: March 2014

DSC resource kit wave 3

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 … Continue reading

Posted in PowerShell v4, Windows Server 2012 R2 | Leave a comment

Last few days to register

Reaching the end of March there’s not much time left to register for the PowerShell Summit NA 2014 – http://powershell.org/wp/community-events/summit/powershell-summit-north-america/summit-registration/ as its coming up fast. See you there.

Posted in Powershell, Summit | Leave a comment

Discovering namespaces

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 … Continue reading

Posted in CIM, PowerShell and WMI, PowerShell V3, PowerShell v4 | Leave a comment

Improving CIM/WMI method discovery

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 … Continue reading

Posted in CIM, PowerShell and WMI, PowerShell V3, PowerShell v4 | Leave a comment

Deal of the Day–26 March 2014

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

Posted in Books, Powershell | Leave a comment

A little bit of community

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 … Continue reading

Posted in Powershell Basics | Leave a comment

Discovering CIM/WMI methods and parameters

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 … Continue reading

Posted in CIM, PowerShell and WMI, PowerShell V3, PowerShell v4 | Leave a comment

DSC, Windows 2012 R2 and GA

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 … Continue reading

Posted in Windows Server 2012 R2 | Leave a comment

Where’s the value

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 … Continue reading

Posted in Powershell Basics | Leave a comment

Give me a break

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. … Continue reading

Posted in Powershell Basics | Leave a comment