© Ravikanth Chaganti 2018
Ravikanth ChagantiPro PowerShell Desired State Configurationhttps://doi.org/10.1007/978-1-4842-3483-9_12

12. Debugging DSC Resources

Ravikanth Chaganti1 
(1)
Saideep Helicon, Bengaluru, India
 

In Chapter 7, you learned how to perform unit and integration tests of your custom DSC resources. Testing is a great way to ensure that the functionality you intend to build is indeed available and not broken. You saw in Chapter 9 how DSC debug and analytics logs can help you retrieve more information about DSC operations. However, there may be bugs that get introduced because of an environmental configuration where the resource module is being used or could just be a test miss. In this case, you need to use the available debugging techniques ...

Get Pro PowerShell Desired State Configuration: An In-Depth Guide to Windows PowerShell DSC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.