Opening a console window for interactive scripting | HCL Digital Experience
To start the Portal Scripting Interface from a console window, use the procedure described here.
Procedure
-
Change into the directory where your Portal Scripting Interface is installed:
cd /opt/WebSphere/PortalServer/bin
-
Call the Portal Scripting Interface startup command file:
wpscript.sh|bat
.Note: You must indicate that you want to enter the commands in Jython as follows:-lang jython
. If you prefer to use the JACL Syntax, you can type-lang jacl
. -
You can now enter Portal Scripting commands as required. You can also use all the
available WebSphere® Application
Server
wsadmin
commands.