locked
Powershell updates approval with inheritance RRS feed

  • Question

  • Hi everybody,

    I search how to approve updates on All computer target group with inheritance apply to children in powershell.

    It's possible ?

    Thanks :)

    Tuesday, December 15, 2015 8:18 AM

Answers

All replies

  • Hi Cerede2000,

    You could run Approve-WsusUpdate command to approve the updates.

    Here is the detailed synax for the command:

    https://technet.microsoft.com/en-us/library/hh826164(v=wps.630).aspx

    Best Regards,

    Leo


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Wednesday, December 16, 2015 7:10 AM
  • thank you for your reply but I already know approve updates.

    What I want to do is apply inheritance of a group on its subgroups like in GUI.

    It's possible ?

    PS : WSUS Powershell Cmdlets are very very very slow. It's best to use the APIs :)

    Wednesday, December 16, 2015 8:23 AM
  • @cerede2000, this gallery item may be helpful, the author seems to detect for childgroups within the script code?

    https://gallery.technet.microsoft.com/scriptcenter/47de741b-b64a-4d8a-8bc1-53e6bf7f7792


    Don [doesn't work for MSFT, and they're probably glad about that ;]

    • Proposed as answer by Leo Han Monday, December 28, 2015 8:58 AM
    • Marked as answer by Leo Han Thursday, December 31, 2015 9:24 AM
    Wednesday, December 16, 2015 8:45 AM
  • Thanks !

    Allready recurse child target group.

    My problem is when in GUI apply inheritance to children juste appear Install

    But when approve with Powershell on all groups it's appear Install(6/6) :(

    Wednesday, December 16, 2015 10:36 AM
  • Hello,

    Did you find an answers for inheritance througth powershell ? :)

    Sunday, June 16, 2019 8:22 PM