Skip to content

Incorrect documentation for New-CMSoftwareUpdateDeployment -RestartServer/-RestartWorkstation #251

Open
@rably1960

Description

@rably1960

This is regarding the documentation of the -RestartServer/-RestartWorksation parameters. The documentation says "Indicates whether to allow a workstation to restart following a software update". However, it actually indicates whether to suppress a reboot, not allow a reboot. A value of "true" will set the "suppressreboot" attribute bit, while a value of "false" will not set the bit. For example, setting both of these to true sets the SuppressReboot value to 3, and if you look at the deployment in SCCM after creation the suppress server and workstation boxes are both checked. So setting these to "false" will actually ALLOW a reboot.

In reality, it is either a poorly named parameter or a bug in the code for the cmdlet. But that makes it even more important to correct the documentation because this can cause servers to restart unintentionally.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

doc-bugout of date, unclear, confusing, or broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions