PowerShell for Admins

PowerShell for Admins
Don Jones
PowerShell for Admins

PowerShell v5: What's New in DSC

When Desired State Configuration (DSC) came out - gosh, just about a year ago - I kept telling people that there was more to come. And a lot of it is now just around the corner in PowerShell v5. This article is written to the September 2014 preview release - things may change for the final release. …

Don Jones
PowerShell for Admins

PowerShell v5: Class Support

This post is based on the September 2014 preview release of WMF 5.0. This is pre-release software, so this information may change. One of the banner new features in PowerShell v5 is support for real live .NET Framework class creation in Windows PowerShell. The WMF 5.0 download’s release notes …

Don Jones
PowerShell for Admins

Quick Tip: WMI vs. CIM Syntax

# List all classes in a namespace Get-CimClass -Namespace root\CIMv2 Get-WmiObject -Namespace root\CIMv2 -List # list all classes containing “service” in their name Get-CimClass -Namespace root\CIMv2 | Where CimClassName -like ‘*service*’ | Sort CimClassName (or) Get-CimClass …

Don Jones
PowerShell for Admins

After all the DSC-related excitement this week, there have been a few online and Twitter-based discussions including Chef, Puppet, and similar solutions. Many of these discussions start off with a tone I suppose I should be used to: fanboy dissing. “Puppet already does this and is …