Conditional Query - dsquery


hello,

i create conditional query retrieve users in particular ou who has not logged on 6 month couple of parameters in active directory.

dsquery user -inactive 24 -limit 0 | dsget user "ou=xx,dc=yy,dc=zz" -samid, -desc -memberof

could run above script?

any recommendations, suggestions appreciated

thank in advance,

akira sekine

have various dsquery.

http://social.technet.microsoft.com/wiki/contents/articles/dsquery-commands.aspx

http://social.technet.microsoft.com/forums/en-us/winserverds/thread/9281647a-3a5b-41c5-a06b-66f0355252cb/


best regards biswajit biswas disclaimer: posting provided "as is" no warranties or guarantees , , confers no rights. mcp 2003,mcsa 2003, mcsa:m 2003, ccna, mcts, enterprise admin


Windows Server  >  Directory Services



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

difference between wuauclt1.exe and wuauclt.exe

Windows 2016 RDS event 1306 Connection Broker Client failed to redirect the user... Error: NULL