Scripting Blog [archived]

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

How Can I List All the Sites in Active Directory as well as All the Servers in Those Sites?

(image) Hey, Scripting Guy! How can I list all the sites in Active Directory as well as all the servers in those sites?-- DW(image) (image) (image) Hey, DW. You know, you’re putting us to the test here. Ask us a question about users and groups and we’re fine; we at least kind of understand what users and groups are all about. Ask about...

How Can I Determine the ADsPath for the Logged-On User?

(image) Hey, Scripting Guy! In my HTA, how can I determine the ADsPath for the logged-on user?-- AC(image) (image) (image) Hey, AC. You know, when you work at Microsoft people automatically assume that you spend your days in an ivory tower, totally removed from the day-to-day activities and needs of system administrators. To be honest, ...

How Can I Determine the Name of the Local Administrators Group?

(image) Hey, Scripting Guy! How can I determine the name of the local Administrators group? This can vary depending on the operating system language; for example, in German the name of the group is Administratoren.-- DS(image) (image) (image) Hey, DS. You know, the first thought that popped into our heads when we read your question was ...