Pro Tip: PowerShell DSC Events to Monitor

blivit
blivit

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

CTRL ALT DEL
CTRL ALT DEL

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

Windows Firewall
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

17 Hours of PowerShell Desired State Configuration (DSC) Video Training

PowerShell DSC Video Training now available! I am excited!  Microsoft Premier customers now have access to 17 hours of real-world PowerShell Desired State Configuration (DSC) video training through the Premier Workshop Library on Demand (WLOD) subscription.  We recorded 11 modules on topics from beginner to advanced.  The training gracefully builds one concept upon another until…

10

Deploy Active Directory with PowerShell DSC (a.k.a. “DSC-PROMO”)

Active Directory and PowerShell DSC Today’s post is the first in a series on using PowerShell DSC with Active Directory. I don’t know how many blog posts there will be. I haven’t written them yet. What I can tell you, is that I have a load of fun scripts to share. Today we will start…

10