Restart IDSM service in WASSERVER

Hello,
Currently i am handling admin activity of wasserver, its parts of teamcenter,
wasserver is used to maintain IDSM service which is involved in data transfer activity. due to some reason IDSM service gets down and have to restart this service manually.
to avoided manually steps i want to make script file base on bat or VB scripts. how to make script of below manual steps? can any one guide me for the same. I am fresher for AIX server.
1. open putty.
2. Enter ip addrress 10.x.xx.xx
3. Enter username xxxxx
4. Enter password xxxxx
5. Paste scrept to command wondow(/appl/plmsw/tcscripts/su_idsminetd_stop)
6. Enter password for killing service(User Confirmation to kill service)
7. Paste script in to command window to start service (/appl/plmsw/tcscripts/su_idsminetd)
8. Done exit
Thanks in advance
chetan