|
Account.Edit
|
|
| Format: %colX%, X = Column in [Data] section with existing SamAccountNames
|
| 1-5
|
|
|
| Properties are normally read from the standard user account settings in the [Settings] section, but when there are more than one account.edit command, or both an account.edit and an account.create command in a script, you probably want to use different settings for the different commands. The solution is to specify a settings prefix number in the account.edit command and precede each normal setting in [Settings] by a prefix number and underscore ("1_", "2_" etc.). See below example.
|
|
|
| Tip: set "BatchSettings.Debug=Yes" to display SET variables used by account.edit in the status window.
|
| This command is executed on the current machine in the [Machines] section.
|
|
|
| Properties to edit are specified as SamAccount [Settings], only properties included in [Settings] are modified, all other properties are left as is.
|
| · | Open a script (.cnu) file with accounts already created.
|
| · | Replace the command "Account.Create" with "Account Edit".
|
| · | Edit the settings you want to change.
|
| · | Click "Remove markers".
|
| · | Click "Run batch".
|