Scans for outstanding SCCM updates to be installed and installs the pending updates.
Install-SCCMSoftwareUpdates [[-SoftwareUpdatesScanWaitInSeconds] <Int32>] [[-WaitForPendingUpdatesTimeout] <TimeSpan>] [[-ContinueOnError] <Boolean>] [<CommonParameters>]
Scans for outstanding SCCM updates to be installed and installs the pending updates.
Only compatible with SCCM 2012 Client or higher. This function can take several minutes to run.
-SoftwareUpdatesScanWaitInSeconds <Int32>
The amount of time to wait in seconds for the software updates scan to complete. Default is: 180 seconds.
-WaitForPendingUpdatesTimeout <TimeSpan>
The amount of time to wait for missing and pending updates to install before exiting the function. Default is: 45 minutes.
-ContinueOnError <Boolean>
Continue if an error is encountered. Default is: $true
.
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
-------------------------- EXAMPLE 1 --------------------------
PS C:>Install-SCCMSoftwareUpdates
To see the examples, type: Get-Help Install-SCCMSoftwareUpdates -Examples
For more information, type: Get-Help Install-SCCMSoftwareUpdates -Detailed
For technical information, type: Get-Help Install-SCCMSoftwareUpdates -Full
For online help, type: Get-Help Install-SCCMSoftwareUpdates -Online
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。