Top 10 PowerShell DSC Node Events to Monitor

In a previous blog post I demonstrated how to get a list of all possible PowerShell Desired State Configuration (DSC) events for monitoring. Admittedly, that was an overwhelming list. Today I want to narrow that down to the essentials of DSC monitoring events. These are the events you’re looking for. Recently I was working with…

0

Compare Group Policy (GPO) and PowerShell Desired State Configuration (DSC)

What is the difference between Group Policy (GPO) and PowerShell Desired State Configuration (DSC)? Why would I use one over the other? I hear these questions frequently. Today we are going to fully explore the pros and cons of each. Is GPO going the way of the floppy disk? Let’s find out. The Contenders Group…

6

Pro Tip: PowerShell DSC Events to Monitor

The Problem I need to monitor PowerShell DSC health on all of my nodes. But I do not want to wait for every possible event to happen in production to catch it and add it to my monitoring event list. The Options There are many options for monitoring PowerShell Desired State Configuration (DSC) status on…

0

Gnarly Innards: How to live debug PowerShell DSC configurations without using Enable-DSCDebug

The Problem Have you ever needed to debug a PowerShell Desired State Configuration that appeared to be hanging when it was applying? At that point it’s a little too late to run Enable-DscDebug. Here’s how to debug it anyway… The Solution On the box applying the active configuration you can see the LCM is busy….

0

PowerShell DSC 101: Using the Script Resource to Enable the Windows Firewall

Learning PowerShell Desired State Configuration PowerShell DSC is one of my favorite topics to teach, because the technology is simply amazing. Usually I do not have enough time with a customer to teach all of the built-in resources. I would guess that the Script resource is one of the least understood. Today’s post outlines a…

0

Using Credentials with PsDscAllowPlainTextPassword and PsDscAllowDomainUser in PowerShell DSC Configuration Data

Warnings and errors, oh my! If you have written a DSC configuration containing a credential, then you have likely seen error messages about plain text passwords. And recently a warning was added when using domain credentials. In today's post we explain how to handle these appropriately using DSC configuration data. Where is the documentation for…

0

DevOps for n00bs (ie. Windows people like me)

Tidal Wave: DevOps There is a tidal wave coming to Windows IT Pros, especially those supporting infrastructure. That tidal wave is called DevOps. I’ve spent the last year wiping out in the surf of the tidal wave, trying to learn the lingo. As a Windows ops guy I’ve been attending non-Microsoft events where I feel…

6

PowerShell DSC FAQ: Sorting Out Certificates

Hello, everyone. This week I posted over on the PowerShell Team Blog. One of the most common questions I get regarding PowerShell Desired State Configuration is about certificates. What kind do I need? How many? Where do they go? In this blog post we will sort out certificate requirements for PowerShell DSC. You can read…

1

Links for DevOps Columbus

These are some helpful links for folks new to PowerShell and Desired State Configuration. At the bottom is a bonus section of related *nix links as well. To quote our CEO, “Microsoft loves Linux.” Microsoft Ignite 2015 Conference – DevOps Sessionshttps://channel9.msdn.com/Events/Ignite/2015?sort=sequential&direction=desc&term=devops Microsoft PowerShell Team Blog http://blogs.msdn.com/b/powershell Download the latest version of PowerShell (WMF) and Release…

1

Configuring Active Directory with PowerShell DSC and the New xADRecycleBin Resource

Active Directory and PowerShell DSC Today’s post is the second in a series on using PowerShell DSC with Active Directory. We will demonstrate configuring the AD Recycle Bin and domain trusts with PowerShell Desired State Configuration. As a bonus we will throw in a registry key for some special logging on the domain controller. Continuing…

0