The default settings rely on the
domain controller for the logon domain. If you aren??™t logged into a domain, the utility attempts
to use the logon server. When a logon server isn??™t available, the utility uses the local machine or
registers an error that Active Directory isn??™t installed.
-u
UserName
Specifies the name of the user account to use to log onto a remote server. The
default setting relies on the user account of the currently logged on user. The username can take
several forms, as shown in the following list.
UserName
The account name such as GeorgeS.
Domain\UserName
The domain name combined with the username, such as
MyDomain\GeorgeS
.
Graphics and the Command Line Often Work Together
Just because you??™re focusing on the command line doesn??™t mean you won??™t ever need to work with a
graphical utility. This book doesn??™t discuss the main graphical utility for editing Active Directory, the
Active Directory Services Interface Editor (ADSIEdit). The ADSIEdit utility can come in quite handy,
though, even when you??™re working at the command line. For example, you can use it when you??™re creating
a script to ensure you get the Lightweight Directory Access Protocol (LDAP) statement for selecting an
object correct.
Pages:
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110