Get started with PowerShell Universal
You'll need to install the PowerShell Universal server. There are a lot of ways to do so but you can use the command line below to get started quickly.
You can install PowerShell Universal as a service. Ensure that PowerShell is running as administrator or the service won't install correctly.
You can learn more about desktop mode here.
You can install PowerShell Universal using the following shell script.
You can install PowerShell Universal using the Universal PowerShell module.
By default, PowerShell Universal is running on port 5000 of localhost. You can access the admin console with the username admin
and admin
.
APIs allow you to call PowerShell scripts over HTTP. To create an API, click API \ Endpoints and click Create New Endpoint. Specify a URL.
Next, click details on the API that was created an enter the following command into the editor.
Save the script and then click the Execute button to test it out.
You can also execute the API via Invoke-RestMethod
.
To create a script, click Automation \ Scripts and then click Create New Script.
Enter the following script into the editor and save.
Once the script is saved, click Run.
To create a new PowerShell-based user interface (dashboard), you can click User Interfaces \ Dashboard and then Create New Dashboard.
After clicking Ok, click the Details button to edit the PowerShell script. Add the following script to the editor.
Save the dashboard, click the Restart button and then click the View button. Click the Click Me button.
Learn more about the various features of PowerShell Universal