PowerShell scripts in LastPass Universal Proxy v4.x
We provide PowerShell scripts as a unified interface to ease the management of LastPass Universal Proxy. The administrator can configure Universal Proxy, start/stop the Windows service, perform diagnostics, and so on.
uproxy <parameter> <value>
The following tables list the available parameters:
Parameter name | Description |
---|---|
-collectDiagnosticData | Creates a zip file containing the log files, the result of diagnostics and the server.properties file, without sensitive data (for example, LDAP admin password, RADIUS password, and so on). By default, the .zip file is created in the folder from where you run the script. |
-destinationPath |
Note: Can only be used with -collectDiagnosticData.
Sets a destination path, where the .zip file is created. |
-editConfig | Opens the server.properties file, if it is present, in the default text editor. |
-help | Prints the description of the script to the console.
Note: This is the default behaviour when no parameter is provided.
|
-logLevel | Sets the log level of LastPass Universal Proxy.
The following values are available:
Important: It takes two minutes for the changes to apply. The change can take effect without manually restarting the Windows service.
|
-showConfig | Prints the content of the server.properties file to the console without sensitive data. |
-version | Shows the LastPass Universal Proxy version. |
Parameter name | Description |
---|---|
-configurationTool | Starts the CLI configuration tool. For more information, see Configure LastPass Universal Proxy 4.x using command line interface (CLI) on Windows. |
Parameter name | Description |
---|---|
-start | Starts the LastPass Universal Proxy Windows service. |
-stop | Stops the LastPass Universal Proxy Windows service. |
-restart | Restarts the LastPass Universal Proxy Windows service. |
-status | Prints the status of the LastPass Universal Proxy Windows service. |
Diagnostic tool
The following tables list the parameters for the diagnostic tool. For more information, see How do I run diagnostics for LastPass Universal Proxy v4.x?.
Parameter name | Description |
---|---|
-diagnostic | Starts the diagnostic tool. |