During development of a new machine configuration, I’d like to be able to completely remove the currently “Pushed” configuration from the test machine. It’s not a VM, so I can’t just turn it off and have all changes be remove. One idea I had is simply you to Push out a new more or less empty configuration, such as the following:
>>>
Configuration ClearConfig
{
param
(
[string]
$MachineName
)
Node $MachineName
{
Log Nothing
{
Message = “Clearing configuration”
}
}
}
ClearConfig -MachineName localhost
>>>
Is there a better way to accomplish this “clearing out”?