Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » domains   (RSS)

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (11/21/08)

Troubleshooting the “Object Is Required” Error Hey, Scripting Guy! I am having a problem with my script. It keeps coming back and saying that an object is required. Why does it do that? - KA Hi KA, "Object required" is very generic. It means that (wait

How Can I Get the GUID for a User Account If All I Have is the User’s Logon Name and Domain?

Hey, Scripting Guy! How can I get the GUID for a user account if all I know is the user’s logon name and domain? -- IU Hey, IU. You know, one of the great things about the Scripting Guy who writes this column is – well, OK, right off the top of our head

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

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

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

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

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

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

How Can I Determine Which Domain Controller Authenticated a User?

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

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

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.

How Can I Get a List of All the Domain Controllers in My Domain?

Hey, Scripting Guy! Is it possible to get a list of all the domain controllers in my domain? -- KT Hey, KT. As a matter of fact, there are at least two ways to get a list of all domain controllers in your domain. The first way is pretty easy, but not

How Can I Add a Domain User to a Local Administrators Group?

Hey, Scripting Guy! How can I add a domain user to the local Administrators group in a computer? -- MB Hey, MB. One reason we started doing this column was because we wanted to know more about what system administrators do (and script) on a regular basis.
 
Page view tracker