MilesLogan
asked on
Powershell - Check two AD groups and show difference
Hi EE
Can someone help me with a script ? I need to check groupA and groupB and show the difference in users from both.
So if groupA has 50 users , groupB has 40 , for it to export " 10 " or "10 missing accounts"
Can someone help me with a script ? I need to check groupA and groupB and show the difference in users from both.
So if groupA has 50 users , groupB has 40 , for it to export " 10 " or "10 missing accounts"
ASKER
hi Subsun , thats an awesome function but... what I was hoping to do is just get the total number of users.
If GroupA has 10 users and groupB has 4 users , I need it to show the difference .
so basically for it to output , "6 users missing from groupB "
can you help with this ?
If GroupA has 10 users and groupB has 4 users , I need it to show the difference .
so basically for it to output , "6 users missing from groupB "
can you help with this ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Very cool ! thank you Subsun
ASKER
..
ASKER
thank you so much!
Open in new window