ms.date | author | ms.topic | keywords | title |
---|---|---|---|---|
2017-06-12 |
eslesar |
conceptual |
dsc,powershell,configuration,setup |
ApplyConfiguration method of the MSFT_DSCLocalConfigurationManager class |
Uses the Configuration Agent to apply the configuration that is pending.
If there is no configuration pending, this method reapplies the current configuration.
uint32 ApplyConfiguration(
[in] boolean force
);
force [in]
If this is true, the current configuration is reapplied, even if there is a configuration pending.
Returns zero on success; otherwise returns an error code.
This is a static method.
MOF: DscCore.mof
Namespace: Root\Microsoft\Windows\DesiredStateConfiguration
MSFT_DSCLocalConfigurationManager