Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » LDAP   (RSS)

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/24/09)

Troubleshooting a VBScript Script That Reports All Software Installed on a Computer Hey Scripting Guy! I am pretty new to use VBScript and seem to have hit a wall. I put together the script below to output a file containing all the software installed

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

Hey, Scripting Guy! How Can I Set the Default File Path in Office Excel to a User’s Home Directory?

Hey, Scripting Guy! How can I set Office Excel’s default file path to a user’s home directory? -- LL Hey, LL. We hope that the script we’re about to show you will answer your question; if it doesn’t, you might have to wait awhile before we can get back

How Can I Add a User to a Group If I Don’t Know the Distinguished Name of That User?

Hey, Scripting Guy! How can I add a user to an Active Directory group if I don’t know the distinguished name of that user? -- VO Hey, VO. You know, if we wanted to take the easy way out here we’d just tell you, “Sorry, but if you don’t know the distinguished

How Can I Get a List of All the Users Who Have an Alternate Recipient?

Hey, Scripting Guy! How can I get a list of all the users who have an alternate recipient (altRecipient)? -- SA Hey, SA. You know, one of the great things about being a Scripting Guy is that we don’t ever have to know what we’re talking about; all we

How Can I Get a List of All the Objects that have been Added to Active Directory Since a Specified Date?

Hey, Scripting Guy! How can I get a list of all the objects that have been added to Active Directory since a specified date? -- KR Hey, KR. First of all we’d like to apologize if our answer here is still a little soggy. No doubt you’ve seen cartoons where

How Can I Add a User to a Group, but Only if that User is a Member of the IT Department?

Hey, Scripting Guy! How can I add a user to a group, but only if that user is a member of the IT department? -- JV Hey, JV. You know, this is your lucky day: not only are we going to show you how you can add a specified user to a group (assuming, of course,

How Can I List All the Sites in Active Directory as well as All the Servers in Those Sites?

Hey, Scripting Guy! How can I list all the sites in Active Directory as well as all the servers in those sites? -- DW Hey, DW. You know, you’re putting us to the test here. Ask us a question about users and groups and we’re fine; we at least kind of understand

How Can I Verify that None of My Local User Accounts have a Blank Password?

Hey, Scripting Guy! How can I verify that none of my local user accounts have a blank password? -- TB Hey, TB. To begin with, we should point out that at least some of you won’t need to make this check on computers within your domain; that’s because you’re

How Can I Set Word’s Default File Location to be the User’s Home Directory?

Hey, Scripting Guy! How can I set Word’s default file location to be the user’s home directory? -- LD Hey, LD. Ah, memories. There was a period of time when it seemed like every question we answered in this column was a two-part question: we’d always

How Can I List All the Groups in an OU?

Hey, Scripting Guy! How can I list all the groups in an OU? -- MK Hey, MK. You know, sometimes people ask us a question and then immediately apologize for having asked it, believing that the question is “way too easy for you guys.” In turn, that seems

Hey, Scripting Guy! How Can I Retrieve the Value of an Active Directory Attribute that has a Hyphen in Its Name?

Hey, Scripting Guy! We have a custom application that adds some attributes to the Active Directory schema. These attributes have hyphens in their names, and I can’t figure out how to retrieve the value of those attributes; any time I try to connect to

How Can I Add an Email Address to the proxyAddresses Attribute?

Hey, Scripting Guy! How can I add an email address to the proxyAddresses attribute without overwriting all the existing attributes? -- DH Hey, DH. For those of you who aren’t too familiar with the proxyAddresses attribute (and, alas, that includes the

How Can I Tell Whether a Group is a Security Group or a Distribution Group?

Hey, Scripting Guy! Is there any way to tell whether an Active Directory group is a security group or a distribution group? -- AW Hey, AW. As a matter of fact, there is; this script will tell you what type of group you’re dealing with: Set objGroup =

How Can I Map Drives Based on Membership in a Group?

Hey, Scripting Guy! How can I map drives in a logon script based on a security group each user belong to? -- RO Hey, RO. Considering the fact that this question has been asked by approximately 3,755,392 of our readers - oops, there’s another one; make
More Posts Next page »
 
Page view tracker