PSWindowsUpdate icon indicating copy to clipboard operation
PSWindowsUpdate copied to clipboard

Search for optional updates only

Open Vaube76 opened this issue 4 months ago • 0 comments

The Parameter -DeploymentAction should not only accept "Installation;Uninstallation" but all possible values. The possible values are defined here: https://learn.microsoft.com/en-us/windows/win32/api/wuapi/ne-wuapi-deploymentaction

0 = None 1 = Installation 2 = Uninstallation 3 = Detection 4 = OptionalInstallation

Example: Get-WindowsUpdate -DeploymentAction OptionalInsatallation -ShowPreSearchCriteria -Verbose

Vaube76 avatar Aug 21 '25 13:08 Vaube76