IBM Cloud Docs
PowerShell コマンドを使用して Windows Server の更新を管理する方法

PowerShell コマンドを使用して Windows Server の更新を管理する方法

以下の PowerShell コマンドを使用して、Windows Server の更新を PowerShell コマンドで管理できるようにすることができます。

Get-PackageProvider -Name nuget -Force
Install-Module PSWindowsUpdate -confirm:$false -Force
Get-WindowsUpdate -Install -acceptall -IgnoreReboot