Remove the Configuration

To delete the configuration and stop using it, use the commands as shown below.

$Session = New-CimSession -ComputerName "localhost"
Remove-DscConfigurationDocument -Stage Current -CimSession $Session

After running this successfully, check the DSC Configuration Store again, it should be clear.

Last updated