Installation
Installation instructions for PowerShell Universal.
Getting Started
PowerShell Module
You can use the PowerShell Universal PowerShell module to install the Universal server. To install the module, use Install-Module
.
To install the Universal server, you can use Install-PSUServer
.
You can configure the path that the server is stored in by using the -Path
parameter.
You can add the PSU server to the PATH environment variable by use the -AddToPath
parameter.
Once the server has been installed, you can use Start-PSUServer
to start it.
You can specify the path to the executable using the -ExecutablePath
parameter. If you have set the location of the server to -AddToPath
with Install-PSUServer
, Start-PSUServer
should find the executable automatically.
Chocolatey Package (Windows)
You can install PowerShell Universal using the Chocolatey package. The package runs the MSI install. It will install Universal as a service and open a web browser after the install.
You can login with the "admin" user and any password.
Winget (Windows)
You can install PowerShell Universal using Winget. It will run the MSI and install as a service.
You can also specify the --silent
flag to prevent the installer from showing and the web browser from opening at the end of the install.
ZIP Install
You can also download the ZIP from our Downloads page if you would like to xcopy deploy the files on Windows or Linux.
Windows
You can start Universal by unzipping the contents, unblocking the files and then executing Universal.Server.exe
.
Linux
On Linux, start the process Universal.Server
. You may need to chmod +x
the file if it does not start.
Docker
See the Docker page.
MSI Install (Windows)
The MSI install will create a PowerShell Universal service and open the admin console after installation.
Properties
SUPPRESSBROWSER
Setting the SUPPRESBROWSER MSI property to true will prevent the browser from opening after installation.
Next Steps
At this point, Universal is up and running. Please consult other sections in this documentation for instructions on how to configure, secure, and start using PowerShell Universal. Happy Scripting!
Last updated