1 Star 0 Fork 0

jason.w.wei/PSAppDeployToolkit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Install-SCCMSoftwareUpdates.md 1.60 KB
一键复制 编辑 原始数据 按行查看 历史

Install-SCCMSoftwareUpdates

SYNOPSIS

Scans for outstanding SCCM updates to be installed and installs the pending updates.

SYNTAX

Install-SCCMSoftwareUpdates [[-SoftwareUpdatesScanWaitInSeconds] <Int32>] [[-WaitForPendingUpdatesTimeout] <TimeSpan>] [[-ContinueOnError] <Boolean>] [<CommonParameters>]

DESCRIPTION

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.

PARAMETERS

-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

REMARKS

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

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PowerShell
1
https://gitee.com/jason.w.wei/PSAppDeployToolkit.git
git@gitee.com:jason.w.wei/PSAppDeployToolkit.git
jason.w.wei
PSAppDeployToolkit
PSAppDeployToolkit
master

搜索帮助