*** Hopeleonie ***
asked on
PowerShell script to clone a WSUS group
Hi
I need to build a WSUS script. We have a WSUS target group (x) that we need to clone with a new Target group (y) and an existing Target group (z). After y and z must have the same approvals, denied, not approved etc. as x.
Is somebody having a similar script and will share with me? Or can somebody point me whether this is possible and which commands and Moduls will I need.
WSUS Server is a Server 2012 R2.
Please note that I’m very new to PowerShell, so I want to thank for your patience in advance. :-)
I need to build a WSUS script. We have a WSUS target group (x) that we need to clone with a new Target group (y) and an existing Target group (z). After y and z must have the same approvals, denied, not approved etc. as x.
Is somebody having a similar script and will share with me? Or can somebody point me whether this is possible and which commands and Moduls will I need.
WSUS Server is a Server 2012 R2.
Please note that I’m very new to PowerShell, so I want to thank for your patience in advance. :-)
You can use a nested group, this way the approvals are easily inherited.
ASKER
Hi Hector2016
Yes we know that. But I need to script it :-)
Yes we know that. But I need to script it :-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Hector2016 I will check that.
ASKER
Thanks a lot