MSFT_DSCLocalConfigurationManager class

The Local Configuration Manager (LCM) that controls the states of configuration files and uses Configuration Agent to apply the configurations.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("dsccore"), AMENDMENT]
class MSFT_DSCLocalConfigurationManager
{
};

Members

The MSFT_DSCLocalConfigurationManager class has the following members:

  • Methods

Methods

The MSFT_DSCLocalConfigurationManager class has these methods.

Methods Description
ApplyConfiguration(boolean) Uses the Configuration Agent to apply the configuration that is pending.
DisableDebugConfiguration() Disables DSC resource debugging.
EnableDebugConfiguration(boolean) Enables DSC resource debugging.
GetConfiguration() Sends the configuration document to the managed node and uses the Get method of the Configuration Agent to apply the configuration.
GetConfigurationResultOutput Gets the Configuration Agent output relating to a specific job.
GetConfigurationStatus Get the configuration status history.
GetMetaConfiguration Gets the LCM settings that are used to control Configuration Agent.
PerformRequiredConfigurationChecks Starts the consistency check.
RemoveConfiguration Removes the configuration files.
ResourceGet Directly calls the Get method of a DSC resource.
ResourceSet Directly calls the Set method of a DSC resource.
ResourceTest Directly calls the Test method of a DSC resource.
RollBack Rolls back to a previous configuration.
SendConfiguration Sends the configuration document to the managed node and saves it as a pending change.
SendConfigurationApply Sends the configuration document to the managed node and uses the Configuration Agent to apply the configuration.
SendConfigurationApplyAsync Send the configuration document to the managed node and start using the Configuration Agent to apply the configuration. Use GetConfigurationResultOutput to retrieve result output.
SendMetaConfigurationApply Sets the LCM settings that are used to control the Configuration Agent.
StopConfiguration Stops the configuration that is in progress.
TestConfiguration Sends the configuration document to the managed node and verifies the current configuration against the document.

Requirements

MOF: DscCore.mof

Namespace: Root\Microsoft\Windows\DesiredStateConfiguration