From the course: PowerShell Desired State Configuration Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Using the xDscDiagnostics module

Using the xDscDiagnostics module - PowerShell Tutorial

From the course: PowerShell Desired State Configuration Essential Training

Start my 1-month free trial

Using the xDscDiagnostics module

- [Voiceover] Now, while you're using DSC there's a special module we can load with the xDscDiagnostics. And this a great little component that'll allow us to troubleshoot of what's happening inside of our DSC environments, and it's built-in to our Windows systems, although by default, it's not installed. The xDscDiagnostics is a PowerShell module. It's built onto your system. It's designed specifically to help work with your DSC environments, to help trace your failures, or even monitor the success events that happen inside of it. It's made up of two commandlets, Get-xDscOperation and Trace-xDscOperation. And they work really hand in hand. Get finds all of the operations that we would have on our current system, and Trace will help us track down what happened in those actual events. So I'm gonna show you how these both work, and how we can configure and use them on our system. So let me go ahead and flip on over onto my server, and show you how these commandlets work. Here I have my…

Contents