Scripts to check number of users under different CN & OU
dsget group "CN=ctxapp,OU=Production,OU=SDS,OU=Groups,OU=Citrix,DC=abc, DC=xyz, DC=123" -members > File name .csv
Scripts to check disable user on AD
dsquery user -name "user name" | dsmod user -disabled yes
Run these on command prompt
dsget group "CN=ctxapp,OU=Production,OU=SDS,OU=Groups,OU=Citrix,DC=abc, DC=xyz, DC=123" -members > File name .csv
Scripts to check disable user on AD
dsquery user -name "user name" | dsmod user -disabled yes
Run these on command prompt
No comments:
Post a Comment