RestartSystem manages forced or pending system reboots.
The DSC resource supports only one system reboot inside the DSC configuartion of a node. You can control the system reboot time by ordering the activated configurations in the YAML files (e.g. RestartSystem at last if you want a restart at the end of your configuration).
Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
ForceReboot |
Boolean |
Force a system reboot Only one reboot after first start of a DSC configuration is supported. |
|
|
PendingReboot |
Boolean |
Checks for pending system reboots |
|
|
SkipComponentBasedServicing |
Boolean |
Specifies whether to skip pending reboots triggered by the Component-Based Servicing component. |
|
|
SkipWindowsUpdate |
Boolean |
Specifies whether to skip pending reboots triggered by Windows Update. |
|
|
SkipPendingFileRename |
Boolean |
Specifies whether to skip pending file rename reboots. |
|
|
SkipPendingComputerRename |
Boolean |
Specifies whether to skip pending reboots triggered by a pending computer rename. |
|
|
SkipCcmClientSDK |
Boolean |
Specifies whether to skip pending reboots triggered by the ConfigMgr client. |
|
RestartSystem:
ForceReboot: true
PendingReboot: true
SkipCcmClientSDK: false