PowerTip: Use DSC to Remediate a Server

Doctor Scripto

Dr Scripto

Summary: Use Windows PowerShell 4.0 DSC to easily remediate a server.

Hey, Scripting Guy! Question How can I see what has been fixed on the server before I re-apply a DSC configuration?

Hey, Scripting Guy! Answer Use the –Verbose switch when you call the Start-DSCConfiguration cmdlet:

Start-DscConfiguration -Path "C:\DSC\Configurations\" -Wait -Verbose

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment