Showing results for computer accounts - Scripting Blog [archived]

Feb 17, 2006
0
0

How Can I Specify the Computers a User Can Use to Log On to the Domain?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I configure a user account so that the user can only log on to the domain using specific computers?-- RB Hey, RB. You know, at one point we had some really good solutions for you; unfortunately, Microsoft’s legal department said no to every single one of them. In their view, “We believe most Human Resources department...

Scripting Guy!VBScriptActive Directory
Jan 27, 2006
0
0

How Can I Count the Number of Computers in a Domain?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I count the number of computers in a domain?-- TN Hey, TN. Here’s a true story for you. About 5 years ago, when one of the Scripting Guys first started at Microsoft, his group here (which might not be the most technically-savvy group at the company) needed to get a count of all our computers. How did they do that? Why...

Scripting Guy!VBScriptActive Directory
Dec 13, 2005
0
0

How Can I Disable a Computer Account?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I disable a computer account?-- MD Hey, MD. You know, our first thought when we read your question was to ask our very own Peter Costantini, a scripting guru who’s done a lot of work with Active Directory. For better or worse, however, Peter’s originally from New Jersey and is a big fan of The Sopranos. Consequently, ...

Scripting Guy!VBScriptActive Directory
Jun 28, 2005
0
0

How Can I List All the Attributes Used by the Computer Class in Active Directory?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I list all the attributes used by the Computer class in Active Directory?-- KP Hey, KP. Thanks for your question. In response, yes, it is true that the Kirkland Fire, the Colt League baseball team coached by one of the Scripting Guys, won the city championship this past weekend, nicely bookending the regular-season ch...

Scripting Guy!VBScriptActive Directory
Apr 29, 2005
0
0

How Can I Change the User and Computer Account Description Attributes Each Time a User Logs On?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I change the user and computer account Description attributes each time a user logs on? I’d like the Description to indicate who logged on, and when.-- GG Hey, GG. This is actually a pretty good idea. One question we get asked all the time is this: “How can I get a list of all my computers and who’s logged on to them?...

Scripting Guy!VBScriptActive Directory