Please feel free to provide feedback or file bugs here.

Reset LCM configuration

Reset LCM configuration.

Hi and sorry for my funny English.
When I configure my LCM, it's impossible to reset state.
If I want a default configuration, I send a new configuration this default value for all Settings (here, no value, just settings).

[DscLocalConfigurationManager()]
Configuration ResetLCM {
Node MyNode {
Settings {
ActionAfterReboot =
AllowModuleOverwrite =
CertificateID =
ConfigurationDownloadManagers =
ConfigurationID =
ConfigurationMode =
ConfigurationModeFrequencyMins =
DebugMode =
MaximumDownloadSizeMB =
RebootNodeIfNeeded =
RefreshFrequencyMins =
RefreshMode =
ReportManagers =
ResourceModuleManagers =
SignatureValidations =
StatusRetentionTimeInDays =
}}

I think it's easier to use command.

For example, there is a reset configuration for DSCConfigurationDocument.
Remove-DscConfigurationDocument -stage Current

Do you think it's possible for LCM ?
Remove-DscLocalConfigurationManager ?

Regards
Thierry

8 votes
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

Thierry.BT shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base