Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 1.49 KB

msft-dsclocalconfigurationmanager-performrequiredconfigurationchecks.md

File metadata and controls

66 lines (42 loc) · 1.49 KB
title ms.date keywords description ms.topic author manager ms.prod
PerformRequiredConfigurationChecks method of the MSFT_DSCLocalConfigurationManager class
2016-05-16
powershell,DSC
article
eslesar
dongill
powershell

PerformRequiredConfigurationChecks method of the MSFT_DSCLocalConfigurationManager class

Starts a consistency check by using the Task Scheduler.

Syntax

uint32 PerformRequiredConfigurationChecks(
  [in] uint32 Flags
);

Parameters

Flags [in]
A bitmask that specifies the type of consistency check to run. The following values are valid, and can be combined by using a bitwise OR operation:

Value Description
1 A normal consistency check.
2 A continuation of a consistency check after a reboot. This value should not be combined with other values.
4 The configuration should be pulled from the pull server specified in the metaconfiguration for the node. This value should always be combined with 1, for a value of 5.
8 Send status to the report server.

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