Powershell - 安装Windows更新?

PnP*_*PnP 6 powershell powershell-2.0

这可能吗?

我想我们需要以某种方式调用WUAgent来运行检测,但我想基本上下载并安装更新,然后重新启动作为脚本的一部分.

这将是一个更大的脚本的一部分,通过Powershell基本上构建一个vanilla 2008R2盒子直到DC.

Fro*_* F. 9

查看PowerShell的PSWindowsUpdate模块.

它位于脚本中心