Chapter 7 Quick Reference
To | Do This |
|---|---|
Delete users in an easy fashion | Modify the script you used to create the user, and change the Create method to Delete. |
Commit changes to Active Directory when deleting a user | Nothing special is required. Changes take place when deleted. |
Find country codes used in Active Directory and Computers | Use ISO 3166 |
Modify a users first name via ADSI | Add a value to the GivenName attribute. Use the SetInfo() method to write the change to Active Directory. Use the Put method to at least specify the sAMAccountName attribute if using Windows 2000 AD. |
Overwrite a field that is already populated in Active Directory | Use the Put method. |
Assign a value to a terminal server profile attribute after making a connection into Active Directory ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access