Skip to content

Search for optional updates only #58

@Vaube76

Description

@Vaube76

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions