The OpalisStartPolicy Windows PowerShell Script provides the ability to start an Opalis Integration Server Policy from Windows PowerShell using the Web Services provided by the Opalis Integration Server Operator Console.
Requirements : Windows PowerShell 2.0.
: Opalis Integration Server Operator Console must be running.
Usage:
OpalisStartPolicy.ps1 [-server:<hostname>] [-port:<port>] [-username:<username>]
[-password:<password>] [-spassword:<securepassword>]
[-policy:<policy>] [-parameters:<parameters>]
-server Computer hostname where Opalis Integration Server Operator
Console is running. If no value is provided then the script
will prompt for a hostname.
-port TCP Port on which Opalis Integration Server Operator Console
is listening. If no value is provided then the script will
prompt for a port.
-username Username for login. This is a username the same as would be
provided when logging into the Operator Console form. If
using Active Directory authentication, then the format must
be 'DOMAIN\Username'. If no value is provided then the
script will prompt for a username.
-password Password for login. Not required if providing a value for
'-spassword'. If neither password option has a value
provided then the script will prompt for a password.
-spassword Secure password for login using an encrypted standard string
or a secure string. Not required if providing a value for
'-password'. If neither password option has a value provided
then the script will prompt for a password. This option
supersedes '-password' if both are provided.
-policy Path and name of the desired Policy to be executed. Format
is 'Folder1\Folder2\Policy' - do not include the root
'Policies' folder. If no value is provided then the script
will prompt for a policy.
-parameters Comma separated listing of parameters provided in the format
'Paramater Name1=Value,Paramater Name2=Value'. If no value
is provided and the desired policy uses a Custom Start object
with parameters then the script will prompt for parameters.
-UseSSL If provided, then HTTPS protocol will be used rather than
default of HTTP.
Example:
.\OpalisStartPolicy.ps1 -server:"OPALISHOST" -port:"5314" -username:"DOMAIN\User"
-password:"MyPassword" -policy:"Folder1\Folder2\Policy"
-parameters:"My First Parameter=My Data,My Second Parameter=My Data Also"