Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Approve all updates with status "Needed" for a given computer group #60

Open
C0FFEEC0FFEE opened this issue Jan 16, 2020 · 0 comments
Open

Comments

@C0FFEEC0FFEE
Copy link

I'm trying to implement the following as a scheduled task:
1.) Approve all updates with status "Needed" for a given ComputerTargetGroup test_group (this is the group with the test systems that shall get all needed updates immediately)
2.) Approve all updates that have been approved for the test_group and are older than N days for a given prod_group (this is the group with the productive systems that shall get all updates after they have been approved for the test systems for N days)

I'm done with part 2 but am struggeling with part 1, because I can't get the list of updates with status "Needed" for a given computer group. It seems like Get-PSWSUSUpdate is missing a parameter or I am looking at the wrong commandlet?

Can you give me a pointer how to achieve this? If the feature is not yet implemented I could look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant