Showing results for OUs - Scripting Blog [archived]

Jan 26, 2010
0
0

Hey, Scripting Guy! How Can I Create Users and Organizational Units with Active Directory Domain Services Cmdlets?

ScriptingGuy1
ScriptingGuy1

  Hey, Scripting Guy! I am interested in using Active Directory Domain Services (AD DS) cmdlets to create users and organizational units. Is this a hard thing to do? I only ask this because I am an extremely busy network administrator who has barely had time to begin looking at Windows PowerShell. I do not have a lot of time to spend learning...

Scripting Guy!Windows PowerShellActive Directory
Jul 30, 2009
0
0

Hey, Scripting Guy! How Can I Move a Group from One Organizational Unit to Another?

ScriptingGuy1
ScriptingGuy1

<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> Hey Scripting Guy! I need to be able to move a group from one organizational unit to another. The problem is that our network has thousands of groups and organizational units. What I need is...

Scripting Guy!Windows PowerShellActive Directory
Jul 27, 2009
0
0

Hey, Scripting Guy! How Can I Create Organizational Units with Windows PowerShell?

ScriptingGuy1
ScriptingGuy1

(Note  Today’s response is taken from Ed Wilson’s book, Windows PowerShell Step by Step, which is available on Microsoft Press.)Hey, Scripting Guy! At my company, we are often called upon to create objects in Active Directory. I do not mind using the Active Directory Users and Computers tool. It’s kind of fun to use. We have ...

Scripting Guy!Windows PowerShellActive Directory
May 13, 2008
0
0

Hey, Scripting Guy! How Can I Determine the Distinguished Name of the OU Where the Logged-On User’s User Account Resides?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! As part of a logon script, I need to determine the distinguished name of the OU for the user logging on. How can I do that?-- LK Hey, LK. Today is May 12th, which might not mean much to you. But, then again, maybe it does; after all, May 12this the birthday of Cosimo II de' Medici, Grand Duke of Tuscany, born May 12, 1590, die...

Scripting Guy!VBScriptActive Directory
Apr 1, 2008
0
0

Hey, Scripting Guy! How Can Retrieve a List of All My Computer Accounts, Grouped By OU?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I get a list of all the computers in my domain, grouping those computers by the OU in which the computer account resides?-- TA Hey, TA. Well, today is Monday, and the Scripting Guy who writes this column is actually glad it’s Monday. Not that he’s all that excited about coming back to work, mind you; it’s just that la...

Scripting Guy!VBScriptActive Directory