PerformRequiredConfigurationChecks method
Starts a consistency check.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for