Initiates the action of installing one or more updates on a managed server that are required from an assigned baseline.
Description
Start-SCUpdateRemediation cmdlet initiates the action of installing one or more non-compliant updates on a managed server that are required from an assigned baseline.
For more information about Start-SCUpdateRemediation, type: "Get-Help Start-SCUpdateRemediation -online".
Parameters
VMHost
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies a virtual machine host object. VMM supports Hyper-V hosts, VMware ESX hosts, and Citrix XenServer hosts.
For more information about each type of host, type: "Get-Help Add-SCVMHost -detailed". See the examples for a specific cmdlet to determine how that cmdlet uses this parameter.
VMHostCluster
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM host cluster object.
Baseline
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM baseline object.
JobGroup
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies an identifier for a series of commands that will run as a set just before the final command that includes the same job group identifier runs.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
SuspendReboot
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the computer that is being updated will not reboot when a reboot is required by a software update.
Updates
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies one or more software updates.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
UseLiveMigration
Required?
true
Accept Pipeline Input?
false
Position?
named
Indicates that live migration is used during a cluster remediation.
VMHostCluster
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM host cluster object.
BypassMaintenanceModeCheck
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that cluster patching continues node by node even if a cluster node is already in maintenance mode. By default, cluster remediation fails if any of the cluster nodes are already in maintenance mode.
JobGroup
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies an identifier for a series of commands that will run as a set just before the final command that includes the same job group identifier runs.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
StartNow
Required?
false
Accept Pipeline Input?
false
Position?
named
Identifies the last command of a jobgroup and starts running the commands within the jobgroup. This parameter must be used with the JobGroup parameter.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
RemediateAllClusterNodes
Required?
true
Accept Pipeline Input?
false
Position?
named
Indicates that update remediation is performed on all nodes of a cluster.
UseLiveMigration
Required?
true
Accept Pipeline Input?
false
Position?
named
Indicates that live migration is used during a cluster remediation.
VMHostCluster
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM host cluster object.
Baseline
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM baseline object.
BypassMaintenanceModeCheck
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that cluster patching continues node by node even if a cluster node is already in maintenance mode. By default, cluster remediation fails if any of the cluster nodes are already in maintenance mode.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
SuspendReboot
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the computer that is being updated will not reboot when a reboot is required by a software update.
Updates
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies one or more software updates.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
VMMManagedComputer
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a computer object that is managed by VMM.
Baseline
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM baseline object.
EnableMaintenanceMode
Required?
false
Accept Pipeline Input?
false
Position?
named
Enables maintenance mode for a stand-alone VMM management server that also serves as a host. By default, when remediating a stand-alone host, VMM does not put it into maintenance mode.
JobGroup
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies an identifier for a series of commands that will run as a set just before the final command that includes the same job group identifier runs.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
StartNow
Required?
false
Accept Pipeline Input?
false
Position?
named
Identifies the last command of a jobgroup and starts running the commands within the jobgroup. This parameter must be used with the JobGroup parameter.
SuspendReboot
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the computer that is being updated will not reboot when a reboot is required by a software update.
Updates
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies one or more software updates.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
Examples
1: Bring a host into compliance with a
specified baseline.
The first command gets the host object named VMHost01 and stores the object in the $VMHost variable.
The second command gets the compliance status for host VMHost01 and stores the status object in the $Compliance variable.
The third command gets the baseline object named Security Baseline and stores the object in the $Baseline variable.
The fourth command starts a compliance scan on VMHost01 against the Security Baseline baseline and stores the results in the $Compliance variable.
The last command starts remediation of VMHost01 to bring it into compliance with the Security Baseline baseline.