I often make batch files to sart, stop and restart managed WebLogic servers for UCM 11gR1.  I could use Node Manager, etc., but I like having the server output through the command window when performing development tasks.  It’s fairly straight forward to create a StartUCM.bat and StopUCM.bat, but a restart may be more tricky.  So, if you want to create a batch file to restart a started instance put the following in your batch file (adjust for your install locations, etc.):

start /wait cmd /C "C:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopManagedWebLogic.cmd UCM_server1"
C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startManagedWebLogic.cmd UCM_server1 http://localhost:7001
 

Redstone Content Solutions