Link to home
Create AccountLog in
Avatar of teodor76
teodor76

asked on

to collect some users

I extracted special users with title "managers" and " director" on the active directory by using the command get-qaduser -sizelimit 0 | where {($_.title -eq "Manager") -or ($_.title -eq "director")} | select name | out-file c:\managers.txt
but I want to exclude some users on this list who are the member of the group "X_Engineer".. because of some users in the Manager and director is member ofthe group  x_engineer..how can I do this?
ASKER CERTIFIED SOLUTION
Avatar of KenMcF
KenMcF
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account