Get-PSWSUSUpdate, NotApproved for Group
I would like to Get and Approve updates which are already approved on some groups but not on the TargetGroup.
First Idea: Get-PSWSUSUpdate -ApprovedState NotApproved -ComputerTargetGroups [TargetGroup]
I get zero updates out of this Request
Second Idea: Get-PSWSUSUpdate -UpdateApprovalAction NotApproved -ComputerTargetGroups [TargetGroup]
The NotApproved is not supported by UpdateApprovalAction
Is this a missing feature or i am requesting this the false way?
Behind "ComputerTargetGroups" it will run "ApprovedComputerTargetGroups", so it will never show unapproved Updates!
Source: https://docs.microsoft.com/en-us/previous-versions/windows/desktop/aa354556(v%3Dvs.85) https://docs.microsoft.com/en-us/previous-versions/windows/desktop/aa353750%28v%3dvs.85%29