Showing results for domains - Scripting Blog [archived]

Mar 12, 2008
0
0

Hey, Scripting Guy! How Can I Use Windows PowerShell to Add a Domain User to a Local Group?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I recently came across your article where you showed people how to use VBScript to add a domain user to a local group. How can I do that same task using Windows PowerShell?-- KE Hey, KE. Before we begin we thought we should mention that the Scripting Guy who writes this column has a new favorite TV commercial. He’s not even s...

Scripting Guy!Windows PowerShellActive Directory
Jun 26, 2007
0
0

How Can I Create a Folder for Each User in My Domain?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I create a folder for each user in my domain? I’d like the folder name to consist of the user’s first initial and their last name (for example, KMyer).-- GN Hey, GN. You know, this has been an interesting week for the Scripting Guys. Why? Because absolutely nothing interesting has happened to any of the Scripting Guy...

Scripting Guy!VBScriptActive Directory
Apr 17, 2007
0
0

How Can I Tack a Prefix Onto the Telephone Numbers of All the Users in My Domain?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I tack a prefix onto the telephone numbers of all the users in my domain?-- JB Hey, JB. It’s Monday morning as this column is being written, and the Scripting Guy who actually writes this column is still a bit tired from driving across the state and back in order to attend his niece’s wedding. Yes, yet another a weddi...

Scripting Guy!VBScriptActive Directory
Jun 15, 2005
0
0

How Can I Determine Which Domain Controller Authenticated a User?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! In my logon script how can I determine the name of the domain controller that authenticated the user?-- CK Hey, CK. You know, one of the unwritten rules for being a Scripting Guy is that you should never do anything hard more than once a week. (Why is this an unwritten rule? Mainly because we were all too lazy to write it dow...

Scripting Guy!VBScriptActive Directory
Mar 8, 2005
0
0

How Can I Get a List of All the Domains in a Forest?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I get a list of all the domains in a forest?-- NS Hey, NS. Any time you want information about Active Directory your best bet is to go right to the source: simply ask Active Directory to provide you with this information. Here’s a sample script that binds to the global catalog for the domain Fabrikam.com and searches ...

Scripting Guy!VBScriptActive Directory