Showing tag results for Active Directory

Mar 10, 2005
Post comments count0
Post likes count0

How Can I Temporarily Add a Group to Another Active Directory Group?

ScriptingGuy1

Hey, Scripting Guy! I’d like to add an Active Directory group to a second group, but only for an hour; after an hour, I’d like remove that group from the second group. Can I do that with a script?-- JW Hey, JW. Well, this is definitely one of the more interesting questions we’ve received. As far as we know, there’s no way to put a time limit on ...

Scripting Guy!scripting techniquesVBScript
Mar 8, 2005
Post comments count0
Post likes count0

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

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
Feb 17, 2005
Post comments count0
Post likes count0

How Can I Count the Number of Times a User has Logged on to a Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I count the number of times a user has logged on to a computer?-- DE Hey, DE. How can you count the number of times a user has logged on to a computer? Good question and, ultimately, the answer might be: you can’t. But let’s at least explore some possible solutions and see if any of them will help. First of all, let’s...

Scripting Guy!scripting techniquesVBScript
Feb 2, 2005
Post comments count0
Post likes count0

How Can I Get a List of All My Windows Server 2003 Computers?

ScriptingGuy1

Hey, Scripting Guy! How can I gather the names of all the computers in my domain that are running Windows Server 2003?-- AS Hey, AS. When we choose questions to answer for this column, we try to take questions from different areas of scripting. That does two things for us: it keeps us from being the answers-only-questions-about-say-scripting-Act...

Scripting Guy!VBScriptActive Directory
Jan 21, 2005
Post comments count0
Post likes count0

How Can I Find and Move an Active Directory Computer Account?

ScriptingGuy1

Hey, Scripting Guy! I need to move a computer account from one OU to another; however, I don’t know which OU the computer account is currently in. Any advice?-- AA Hey, AA. You know, one thing that marks all the great advice columns - Dear Abby; Ann Landers; Hey, Scripting Guy! - is the fact that, over time, these columns tend to give the same a...

Scripting Guy!VBScriptActive Directory