AccountsWithNoRequiredPassword.ps1 script, 74
Active Directory, 145–173.
See also ADSI (Active Directory Service Interfaces)
committing changes, 150, 154, 159
connecting to, 146
creating computer accounts, 155–156
creating groups, 155
creating objects, 145–146, 169–170
creating organizational units, 145–146, 169–170
creating users, 153–154
deleting users, 168–169
group policy settings, 75
overwriting fields in. See Put method
querying. See ADO (ActiveX Data Objects)
user account controls, 156, 157t
user properties, modifying, 157–167
Active Directory Migration Tool (ADMT), 147
Active Directory Schema MMC, 188
Active Directory Service Interfaces (ADSI). See ADSI (Active Directory Service Interfaces)
address page, modifying, 159–161, 160, 160t, 161t
ADMT (Active Directory Migration Tool), 147
ADO (ActiveX Data Objects)
alternative credentials, 180–183, 180t
attribute indexing, 188–189, 189
base search scope, using, 191
controlling script execution, 197–198
exercises, 193–198
LDAP dialect query syntax, 176–191, 176t
multiple attribute searches, 188
object types, limiting search to, 186–188
objects used to search Active Directory, 179–180, 179t
page size specification, 184–185
query specification methods, 176
querying, 175–179, 193–196
querying Global Catalog, 188–190
querying specific server, 190
querying specific server by IP address, 190–191
search properties, 183–185, 183t–184t
search scopes, 177
SQL query syntax, 176, 192–193, 192t
uses, 175
ADSI (Active Directory Service Interfaces)
binding, 149
connecting to Active Directory, 146
creating computer accounts, 155–156
creating groups, 155
creating objects, 145–146, 169–170
creating organizational units, 145–146
creating users, 153–154
deleting users, 168–169
identifying directory path, 147–148, 148
LDAP names, 148–149, 149t
providers, 146, 147, 147–148
user properties, modifying, 157–167
ADSI Edit
distinguished name verification, 149f
hierarchy exploration with, 147–148, 148
ADsPath, 146
alias provider, 46–47
aliases
build-in, 22
confirming lack of, 16, 38
data type, 83, 84t
Get-Alias cmdlet, 16, 27–28, 40
for Get-ChildItem cmdlet, 22
for Get-Help cmdlet, 15–16
for get-WmiObject cmdlet, 123
listing, 46–47
AllSigned execution policy, 75t
alternative credentials, for ADO, 180–183, 180t
arrays, turning text file into, 169
asterisk (*), wild card operator, 15
Asynchronous property, 183t
AsynchronousQueryComputers.ps1 script, 184
attribute indexing, 188–189, 189