PowerShell Team

Automating the world one-liner at a time…

Want to secure credentials in Windows PowerShell Desired State Configuration?

As you start using Windows PowerShell Desired State Configuration (DSC), you might need to specify credentials for resources. In a previous post we showed you how to define a resource that has a credential property.  In this post, I’ll discuss how to properly encrypt credentials when used in a DSC configuration. Prerequisites First, ...

Using Event Logs to Diagnose Errors in Desired State Configuration

Windows PowerShell Desired State Configuration (DSC), just like any other Windows software, records errors and events in logs that can be viewed from the Event Viewer. However, the trick lies in effectively parsing these logs, so we know exactly why a particular operation failed. In this blog, we explain where the DSC event logs are, and ...