Windows Server 2016で削除された機能または推奨されなくなった機能 (
[URL] https://docs.microsoft.com/ja-jp/windows-server/get-started/deprecated-features
※ 「適用対象: Windows Server 2016」となっていますが、Windows 10 にも適用されるものあります。
Windows Update
Wuauclt.exe/detectnow コマンドは廃止され、サポートが終了しました。 更新のスキャンをトリガーするには、次のいずれかの操作を行います。
・以下の PowerShell コマンドを実行する。
$AutoUpdates = New-Object -ComObject "Microsoft.Update.AutoUpdate"
$AutoUpdates.DetectNow()
・代わりに、以下の VBScript を使用する。
Set automaticUpdates = CreateObject("Microsoft.Update.AutoUpdate")
automaticUpdates.DetectNow()


