Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Windows PowerShell Desired State Configuration Troubleshooting Guidance

Published: June 24, 2013

Updated: October 17, 2013

Applies To: Windows PowerShell 4.0

The following is a list of actions that you can take to troubleshoot Windows PowerShell Desired State Configuration (DSC), or to simply track the progress of its operations.

  1. Use the Verbose and Wait parameters when you run DSC cmdlets.

  2. If you implement a custom resource, use the Write-Verbose cmdlet at strategic points in the implementation of the script module functions.

  3. When you write a configuration script, use the DSC Log resource to track the progress of your configuration in the DSC Analytic event log. You can find this log in Event Viewer under Applications and Services Logs-Microsoft-Windows-Desired State Configuration. Refer to the See Also section below for information on how to ensure that the Analytic event log is enabled and visible.

  4. Check the Operational and Debug event logs for DSC. You can find these logs in Event Viewer under Applications and Services Logs-Microsoft-Windows-Desired State Configuration. Refer to the See Also section below for information on how to ensure that the Debug event log is enabled and visible.

See Also



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.