Showing tag results for Active Directory

Dec 10, 2004
Post comments count0
Post likes count0

How Can I Map Drives Based on Membership in a Group?

ScriptingGuy1

Hey, Scripting Guy! How can I map drives in a logon script based on a security group each user belong to?-- RO Hey, RO. Considering the fact that this question has been asked by approximately 3,755,392 of our readers - oops, there’s another one; make that 3,755,393 of our readers - we decided it might be a good idea for us to answer it. So here ...

Scripting Guy!VBScriptActive Directory
Dec 7, 2004
Post comments count0
Post likes count0

How Can I Return a List of All My Computers Except Those in a Specified OU?

ScriptingGuy1

Hey, Scripting Guy! I need to get back a list of all the computers in my domain, except for the computers which are in our Test Lab OU. How do I do that?-- AM Hey, AM. This seems to be one of the hot new trends in the IT world: in the past two weeks we’ve gotten three similar emails, all involving administrators who want to exclude a particular ...

Scripting Guy!VBScriptActive Directory
Dec 6, 2004
Post comments count0
Post likes count0

How Can I Assign a New UPN to All My Users?

ScriptingGuy1

Hey, Scripting Guy! How can I assign a new UPN to all my users?-- CH Hey, CH. The UPN (or User Principal Name) provides an alternate way of logging on to a domain. Typically you log onto a domain by pressing Ctrl-Alt-Delete, typing in your user name, domain name, and password, and then pressing ENTER. With a UPN, you don’t enter separate user an...

Scripting Guy!VBScriptActive Directory
Dec 3, 2004
Post comments count0
Post likes count0

How Can I Determine the SID for a User Account?

ScriptingGuy1

Hey, Scripting Guy! How can I determine the SID for a user account?-- MD Hey, MD. For those of you whose eyes glaze over any time they see an acronym (not that we blame you), SID is short for Security Identifier. A SID is a unique ID string (e.g., S-1-5-21-1454471165-1004336348-1606980848-5555) that is assigned to each account created in a domai...

Scripting Guy!VBScriptActive Directory
Nov 22, 2004
Post comments count0
Post likes count0

How Can I List the Members of a Group in Alphabetical Order?

ScriptingGuy1

Hey, Scripting Guy! I have a script that returns the names of all the users in an Active Directory group. How can I sort those names in alphabetical order?-- JW Hey, JW. Ah, yes, sorting data: the bane of script writers everywhere. Unfortunately, VBScript doesn’t have a built-in sorting mechanism, and neither does ADSI. Consequently, most p...

Scripting Guy!VBScriptActive Directory