Opening a console window for interactive scripting
The Portal Scripting Interface is an extension to the WebSphere Application Server wsadmin tool. We can use all available WebSphere Application Server wsadmin commands.
To start the Portal Scripting Interface from a console window:
cd /opt/WebSphere/PortalServer/bin
./wpscript.sh -lang jython -port SOAP_PortFor example:
./wpscript.sh -lang jython -port 10033 -user SiteAdmin -password SiteAdmin
Alternatively:
wpscript.sh -lang jacl
WASX7209I: Connected to process "HCL WebSphere Portal and HCL Web Content Manager" on node wpsbvt using SOAP connector; The type of process is: UnManagedProcess WASX7031I: For help, enter: "print Help.help()"To get help:
wpscript.sh -help
Parent topic: Getting started with the Portal Scripting Interface