Query AD to locate USers with SID History and Show Their DN Name
good day, executed following custom query, (&(&yab(objectcategory=user)(sidhistory=*))), gave me list of users sid history how ever in result pane cannot show column see when search user, , gives option insert column "distinguished name" looking assistance query ad users sid history , show dn in results. nb i'm running server 2008 standard r1 service pack 2.
shivanand sinanan
it if command line. dsquery part of os. have included " in following command. may want manually type these instead of coping , pasting.
dsquery * -filter "(&(objectcategory=person)(objectclass=user)(sidhistory=*))" -attr distinguishedname
santhosh sivarajan | houston, tx
http://www.sivarajan.com/
posting provided no warranties,and confers no rights.
Windows Server > Directory Services
Comments
Post a Comment