Showing tag results for Active Directory

Dec 11, 2006
Post comments count0
Post likes count0

How Can I Copy My Users’ Phone Number Attribute to Their Description Attribute?

ScriptingGuy1

Hey, Scripting Guy! How can I copy a user’s phone number to his or her description for all the users in Active Directory?-- DL Hey, DL. You know, the Scripting Guy who writes this column considers today’s column to be his all-time favorite. Why? Because while you’re at work reading this he hasn’t even gotten out of bed yet. (Or, if he has, he’s ju...

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

How Can I Determine the OU the Local Computer Belongs To?

ScriptingGuy1

Hey, Scripting Guy! In a logon script, which attribute do I use to determine the OU that the local computer belongs to?-- JP Hey, JP. Most people are familiar with Cupid, the Roman god of love. In fact, you’d be hard-pressed to find anyone who doesn’t know that Cupid carries with him a quiver of gold-tipped arrows. Get struck by one of Cupid’s arr...

Scripting Guy!scripting techniquesVBScript
Dec 1, 2006
Post comments count0
Post likes count0

How Can I Search Active Directory for User Names Stored in an Excel Spreadsheet?

ScriptingGuy1

Hey, Scripting Guy! How can I take user names from an Excel spreadsheet, search for those users in Active Directory, and then indicate whether or not each user was found?-- SD Hey, SD. You know, one of the drawbacks to writing a daily scripting column is that people never seem to believe you. For one thing, they don’t believe that you write a dail...

Scripting Guy!VBScriptOffice
Nov 20, 2006
Post comments count0
Post likes count0

How Can I Add a User to a Group If I Don’t Know the Distinguished Name of That User?

ScriptingGuy1

Hey, Scripting Guy! How can I add a user to an Active Directory group if I don’t know the distinguished name of that user?-- VO Hey, VO. You know, if we wanted to take the easy way out here we’d just tell you, “Sorry, but if you don’t know the distinguished name of the user you can’t add that user to an Active Directory group.” In other words, ...

Scripting Guy!VBScriptActive Directory
Nov 9, 2006
Post comments count0
Post likes count0

How Can I Use Windows PowerShell to Get a List of All My Computers?

ScriptingGuy1

Using Windows PowerShell, how can I retrieve a list of all the computer accounts in my domain?-- TE Hey, TE. You know, several years ago the Scripting Guy who writes this column was playing basketball with one of his brothers. Because there were a total of 5 people at the park they had to play 2-on-2, with one person forced to sit out. After a sho...

Scripting Guy!Windows PowerShellActive Directory