Link to home
Start Free TrialLog in
Avatar of Marcel_D
Marcel_D

asked on

Powershell Nested Groups Memberships

Hi there,

the following challenge is driving me mad:

I want to create AD Groups and nest them, based on their structure.

Eg.

Organizational Units:
[Department A]
-----[Office A1]
-----[Office A2]
----------[SubOffice AA1]
----------[SubOffice AA2]

Now I want to get the following:

Distribution-List [DEPARTMENT A] with members {Office A1;Office A2;SubOfficeAA1...}. Any idea how to solve this?

Thx
Marcel
ASKER CERTIFIED SOLUTION
Avatar of FOX
FOX
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Marcel_D
Marcel_D

ASKER

I know the cmdlet for adding users/groups to a group. My question is related to automate the task of nesting them.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have solved it manually because lack of time. Points for both.