DSRM Comand


 

hi ,

i trying find solution can remove multiple disabled user accounts in ad. there way can use dsrm command input file contains list of disabled user accounts , delete them in ad.

thanks

so, that's ok. work syntax provided in previous post

for /f "tokens=* delims=<quote>" %i in (e:\disabledaccounts.txt) dsquery user %i| dsrm -noprompt

there simple mistake in previous post. instead of %%i in dsquery users, should single percent sign (%i)


regards, krzysztof ---- visit blog @ http://kpytko.wordpress.com


Windows Server  >  Directory Services



Comments

Popular posts from this blog

Global Catalog ?

mailing list

Global Catalog