|
ClearUserImage <UserName> ClearUserImage <UserName>, <PropertyName> | Clears a user photo of an Active Directory user. The default attribute is "thumbnailPhoto", but other attributes can be specified, such as "jpegPhoto". Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: ClearUserPhoto AcmeUser |
|
ClearUserWorkstations <UserName> | Allows the user to log on to any workstation by clearing the list of workstations that the user is allowed to log on to, which is listed by pressing the "Log on to..." under the user account tab in the Active Directory. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: ClearUserWorkstations AcmeUser |
|
CopyUserImage <UserName>, <ImageFile> CopyUserImage <UserName>, <ImageFile>, <PropertyName> | Copies a user photo of an Active Directory user to a disk file. The default attribute is "thumbnailPhoto", but other attributes can be specified, such as "jpegPhoto". Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: CopyUserImage AcmeUser,AcmeUser.jpg |
|
SetUserAssistantPhoneNo <UserName>, <PhoneNo> | Changes the assistant's phone number of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserAssistantPhoneNo AcmeUser,555.555.5555 |
|
SetUserCity <UserName>, <City> | Changes the "City" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserCity AcmeUser,Los Angeles |
|
SetUserCommonName <UserName>, <CommonName> | Changes the common name ("cn" attribute) of an Active Directory user. When using CreateUser the common name is the same as the account name. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserCommonName AcmeUser,Steve Hansson |
|
SetUserCompany <UserName>, <CompanyName> | Changes the "Company" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserCompany AcmeUser,Acme Corp |
|
SetUserCountry <UserName>, <CountryName> | Changes the "Country" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserCountry AcmeUser,United States |
|
SetUserCustomProperty <UserName>, <PropertyName>, <PropertyValue> | Changes a custom property for an Active Directory user. Property name must be an LDAP property name like 'streetAddress'; see the "Attribute Editor" property tab of the user for a list of attribute and values. Multiple values can be passed for multi-attribute fields. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserCustomProperty AcmeUser,streetAddress,Acmeroad 55 |
|
SetUserDepartment <UserName>, <DepartmentName> | Changes the "Department" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserDepartment AcmeUser,Sales |
|
SetUserDescription <UserName>, <Description> | Changes the description of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserDescription AcmeUser,Acme test user |
|
SetUserDisplayName <UserName>, <DisplayName> | Changes the display name of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserDisplayName AcmeUser,Steve Hansson |
|
SetUserEMailAddress <UserName>, <EmailAddress> | Changes the principal name of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserEMailAddress AcmeUser,acme@acme.com |
|
SetUserExchangeCustomAttribute <UserName>, <Number>, <PropertyValue> | Changes an Exchange Custom Attribute (also known as Extension Attributes) for an Active Directory user. Number must be between 1 and 15. To clear the attribute, set property value to an empty string. If no username is specified, current user is assumed. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>. |
|
SetUserFaxNo <UserName>, <FaxNo> | Changes the "FaxNo" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserFaxNo AcmeUser,555.555.5555 |
|
SetUserHomeDir <UserName>, <Path> | Changes the home path of an Active Directory user. Enter blank path to clear the home path. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserHomeDir AcmeUser,\\Acme\Home$\AcmeUser |
|
SetUserHomeDrive <UserName>, <Drive> | Changes the home drive of an Active Directory user (e.g. H:). Enter blank path to clear the home drive. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserHomeDrive AcmeUser,H: |
|
SetUserHomePhoneNo <UserName>, <PhoneNo> | Changes the "Home Phone" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserHomePhoneNo AcmeUser,555.555.5555 |
|
SetUserImage <UserName>, <ImageFile> SetUserImage <UserName>, <ImageFile>, <PropertyName> SetUserImage <UserName>, <ImageFile>, <PropertyName>, <ScaledPixelSize> | Sets a user photo of an Active Directory user. The default attribute is "thumbnailPhoto", but other attributes can be specified, such as "jpegPhoto". ScaledPixelSize will scale the photo to a this maximum width or height in pixels. If ScaledPixelSize is 96 and the original image is 960x640, the image will be 96x64. If ScaledPixelSize is not specified, no scaling is done. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserPhoto AcmeUser,Acme.jpg |
|
SetUserInitials <UserName>, <Initials> | Changes the initials of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserInitials AcmeUser,SH |
|
SetUserIPPhoneNo <UserName>, <PhoneNo> | Changes the "IP Phone" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserIPPhoneNo AcmeUser,555.555.5555 |
|
SetUserLogonScript <UserName>, <File> | Changes the logon script path of an Active Directory user. Enter blank path to clear the logon script. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserLogonScript AcmeUser,\\Acme\NetLogon\FTLogon.exe |
|
SetUserMobileNo <UserName>, <PhoneNo> | Changes the "Mobile" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserMobileNo AcmeUser,555.555.5555 |
|
SetUserName <UserName>, <FirstName>, <LastName> | Changes the first name and last name of an Active Directory user. Use the SetUserCommonName and SetUserDisplayName commands to change the common and display names of the account. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserName AcmeUser,Steve,Hansson |
|
SetUserNotes <UserName>, <Notes> | Changes the "Notes" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>. |
|
SetUserOffice <UserName>, <Office> | Changes the "Office" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserOffice AcmeUser,Acme office |
|
SetUserPagerNo <UserName>, <PhoneNo> | Changes the "Pager" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserPagerNo AcmeUser,555.555.5555 |
|
SetUserPhoneNo <UserName>, <PhoneNo> | Changes the "Telephone number" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserPhoneNo AcmeUser,555-12345 |
|
SetUserPOBox <UserName>, <POBox> | Changes the "P.O. Box" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>. |
|
SetUserPrincipalName <UserName>, <PrincipalName> | Changes the principal name of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserPrincipalName AcmeUser,acme@acme.com |
|
SetUserProfilePath <UserName>, <Path> | Changes the profile path of an Active Directory user. Enter blank path to clear the profile path. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserProfilePath AcmeUser,\\AcmeServer\Roaming$\AcmeUser |
|
SetUserState <UserName>, <State> | Changes the "State" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserState AcmeUser,California |
|
SetUserStreet <UserName>, <Address> | Changes the "Street" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserStreet AcmeUser,Fremont St. 4533 |
|
SetUserTitle <UserName>, <Title> | Changes the "Title" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserTitle AcmeUser,CEO |
|
SetUserWebPage <UserName>, <WebPage> | Changes the "Webpage" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>. |
|
SetUserWorkstations <UserName>, <ListOfWorkstations> | Sets a list of workstations that the user is allowed to log on to, which is listed by pressing the "Log on to..." under the user account tab in the Active Directory. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserWorkstations AcmeUser,DesktopPC1244,LaptopPC4433 |
|
SetUserZip <UserName>, <ZipCode> | Changes the "Zip" property of an Active Directory user. Domain is by default the domain of the logged on user, to specify another domain, use <Domain>\<UserName>.
Example: SetUserZip AcmeUser,90210 |
|