Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.05 KB

msft-dsclocalconfigurationmanager-applyconfiguration.md

File metadata and controls

57 lines (34 loc) · 1.05 KB
ms.date author ms.topic keywords title
2017-06-12
eslesar
conceptual
dsc,powershell,configuration,setup
ApplyConfiguration method of the MSFT_DSCLocalConfigurationManager class

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.

Syntax


uint32 ApplyConfiguration(
  [in] boolean force
);

Parameters


force [in]
If this is true, the current configuration is reapplied, even if there is a configuration pending.

Return value


Returns zero on success; otherwise returns an error code.

Remarks

This is a static method.

Requirements


MOF: DscCore.mof

Namespace: Root\Microsoft\Windows\DesiredStateConfiguration

See also

MSFT_DSCLocalConfigurationManager