LogonAs, set password, Logoff
Top  Previous  Next


Change administrator password on four remote machines. Use old account password to change password.

[Settings_Begin]
BatchSettings.Delimiter=TAB
BatchSettings.MarkerCol=4
BatchSettings.CheckMachines=No
[Settings_End]

[Machines_Begin]
\\X5013A         Ok-AllDone
\\X5013B         Ok-AllDone
\\X5013C         Ok-AllDone
\\X5013D         Ok-AllDone
[Machines_End]

[Batch_Begin]
Data.Loop   
 LogonAs %ServerName%, %col1%, %col2%   
 Account.Edit.Password %col1%, %col3%
 Logoff %ServerName%   
Data.EndLoop   
[Batch_End]

[Data_Begin]   
administrator   oldpassword   newpassword
[Data_End]