Hi Dineshkumar,
The script in Netsight Command Script tool for XOS devices would be the following:
If you want to apply the change but not save the configuration you can use:
configure account admin password
@SLEEP 1
Test123 <= Current pass
@SLEEP 1
Test5678 <= New pass
@SLEEP 1
Test5678 <= New pass confirmation
@SLEEP 5
exit
@SLEEP 1
No
If you want to include the "save" option it would be the following:
configure account admin password
@SLEEP 1
Test123 <= Current pass
@SLEEP 1
Test5678 <= New pass
@SLEEP 1
Test5678 <= New pass confirmation
@SLEEP 1
save
@SLEEP 1
Yes
@SLEEP 5
exit
As already recommended, please be familiar with this Netsight tool by testing the script in 1-2 switches before applying it to all units.