GJohn32
asked on
Change Ownership of several Distribution List groups at once
I ran the two commands below to find out what DL's the owner manages.
Get-DistributionGroup | where {$_.ManagedBy -eq "xxxx"}
Get-DynamicDistributionGro up | where {$_.ManagedBy -eq "xxx"}
Which returns a very high number list of DL's. Is there a way to change all the DLs at once to the new owner?
Get-DistributionGroup | where {$_.ManagedBy -eq "xxxx"}
Get-DynamicDistributionGro
Which returns a very high number list of DL's. Is there a way to change all the DLs at once to the new owner?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
i think the problem solved by using the pipe line idea
ASKER
Accepted answer: 500 points for msabry06's comment #37599954
Assisted answer: 0 points for GJohn32's comment #37601254
for the following reason:
The Get-DynamicDistributionGro