User guide

78
Parameter
Variable
Mandatory?
Description
-command
N/A
Yes
Fixed value ./WindowsProcess.ps1.
-ProcessName
Yes
The name of the Windows process to
kill.
-UserName
No
The user account running the process.
If not specified, the process will be
killed for all users.
-IsKillProcessTree
No
Flag that indicates if the process tree
must be killed. Allowed values are:
- 1: Kill process tree
- 0 or empty: Do not kill
process tree
Windows Services
Create Service
This action allows users to create a new Windows service. It will fail if the service to create already exists. The
configuration variables of this action are:
Parameters
Mandatory?
Description
ServiceName
Yes
Name of the service to create.
BinPath
Yes
Binary path and name of the service.
DisplayName
No
Display name that will be used for this service.
Description
No
Description that will be given to the service.
UserName
No
User name that will be used for the credentials to start the service
(must be in the form DOMAIN\USER). If provided, the parameter
Password must also be provided. If not provided, the LocalSystem
account will be used by default.
Password
No
Password of the user name specified to start the service.
StartMode
No
Start mode of the service. The allowed values are:
- Manual: Service is started only manually
- Automatic: Service will be started automatically next time
the computer is restarted. This is the default if not
specified.
- Disabled: Service is disabled