Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Get a List of All the Domain Controllers in My Domain?

(image) Hey, Scripting Guy! Is it possible to get a list of all the domain controllers in my domain?-- KT(image) (image) (image) Hey, KT. As a matter of fact, there are at least two ways to get a list of all domain controllers in your domain. The first way is pretty easy, but not guaranteed; depending on how you’ve set up Active ...

How Can I Add a Domain User to a Local Administrators Group?

(image) Hey, Scripting Guy! How can I add a domain user to the local Administrators group in a computer?-- MB(image) (image) (image) Hey, MB. One reason we started doing this column was because we wanted to know more about what system administrators do (and script) on a regular basis. As it is, sitting here in our luxurious penthouse ...