Dsquery computer options 9 console


Dsquery computer options 9 console


I have inherited an AD environment that contains hundreds of long-dead computer accounts. I want to start clearing them out. Copmuter I run dsquery computer -inactive 3 I get about dsquery computer options 9 console. If I run dsquery computer -inactive computre I get a large list. I use oldcmp and run this batch fileoldcmp dsqury -age 120 -format csvYou can change the format and age, I then just go through Active Directory and disable and move the accounts to another OU. You can get it to disable and delete the accounts I dsqiery but I wanted a little more control.

Did 1800 machines the other week. You can download oldcmp if you just Google it. If I needto find a user quickly from the command prompt, I call for DSQuery. Many web browsers, such as Internet Explorer 9, include a download manager. To use dsquery, you must run the dsquery command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.For examples of how to use this command, see Examples.

How to find me.




Dsquery computer options 9 console

Dsquery computer options 9 console


Add a comment

Your e-mail will not be published. Required fields are marked *