> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/licensing.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Licensing

Understand PowerShell Universal licensing per server instance, including offline and online licenses, developer licenses, and licensed features.

PowerShell Universal is licensed per server. We provide licenses for individuals and organizations.

You can purchase a license on [our website](https://store.devolutions.net/package#psu).

## What's a server?

A server is a single running instance of PowerShell Universal.

### What if I have multiple containers?

The license applies to each container instance and not the container host. For example, if you have 10 container instances running, you will need 10 licenses.

### What if I have multiple sites on a single IIS server?

Each website running PowerShell Universal will need a license and not a single license for the entire IIS server.

## Install a License

To install a license, go to ***Settings*** – ***Licenses***. Click **Upload License from File** to upload your license file, or click **Paste License** and paste the license in the **License Text** field. You can also install licenses using the `Set-PSULicense` cmdlet. Offline licenses do not require an internet connection but will need to be reinstalled when the subscription expires, if you wish to update the version of PowerShell Universal. Online licenses require an internet connection and access to `https://ironmansoftware.com` (for Ironman Software licenses) or `https://quoting.devolutions.net` (for Devolutions licenses) in order to verify subscription status.

You can use the `PSULICENSE` environment variable to set a license. The value of this environment variable needs to be the contents of the license file.

A license set with `PSULICENSE` is loaded at each startup, is read-only, and shows `Environment Variable` in the **Source** column of the Licenses page. Licenses added from the admin console show `Database`. When the variable is removed, the license it provided is removed at the next startup.

When no license is installed, the Licenses page also shows the **Pricing**, **Generate Developer License** and **Trial** buttons. **Trial** requests a trial license for an email address. When a trial license is already installed, the request fails with `A trial license is already installed on this instance.` Installing a non-trial license removes the installed trial licenses.

Adding a license fails with `License already exists.` when the same license is already installed, and with `Invalid license specified.` when the license cannot be decoded.

Proxy configuration can be done in ***Settings*** – ***Network*** by configuring the **Proxy URL** and, optionally, the **Proxy Credential** (the name of a variable that must be a `PSCredential`). The proxy is used for external HTTP and HTTPS traffic, such as license activation and update checks; localhost and loopback connections always bypass it. You can also configure proxy settings with the `-ProxyUri` and `-ProxyCredential` parameters of the `Set-PSUSetting` cmdlet.

### Licenses page

***Settings*** – ***Licenses*** (`/admin/settings/licenses`) lists the installed licenses. Viewing it requires the `settings.licenses` permission. ***Paste License*** opens a dialog with the ***License Text*** field. The table has the following columns:

<table><thead><tr><th width="160">COLUMN</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><em><strong>Actions</strong></em></td><td>Actions on the license. Licenses from the <code>PSULICENSE</code> environment variable cannot be changed.</td></tr><tr><td><em><strong>Issued</strong></em></td><td>The start date of the license.</td></tr><tr><td><em><strong>Expiring</strong></em></td><td>The end date, or <em><strong>Until subscription canceled</strong></em> for online and account licenses.</td></tr><tr><td><em><strong>Type</strong></em></td><td>The license type, described in the next section. The tooltips read "This license is associated with a user or organizational account and will continue to renew automatically." (<em><strong>Account</strong></em>), "This license checks the subscription status online and requires an internet connection." (<em><strong>Online</strong></em>) and "This license does not require an internet connection but will need to be updated when the subscription renews." (<em><strong>Offline</strong></em>).</td></tr><tr><td><em><strong>Licensee</strong></em></td><td>The person or organization the license was issued to.</td></tr><tr><td><em><strong>Site</strong></em></td><td>The site of a site license.</td></tr><tr><td><em><strong>Quantity</strong></em></td><td>The number of licensed servers, or <em><strong>Unlimited</strong></em>.</td></tr><tr><td><em><strong>Source</strong></em></td><td><em><strong>Database</strong></em> for licenses added in the admin console or with <code>Set-PSULicense</code>, <code>Environment Variable</code> for <code>PSULICENSE</code>.</td></tr></tbody></table>

The ***Type*** column can also show ***Global*** or ***Unknown*** for license types that this page does not otherwise name.

### License types

The **Type** column of the Licenses page shows one of the following values:

| Type         | Description                                                                                                                                           |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Server`     | Devolutions license for PowerShell Universal servers. The **Quantity** column shows the number of licensed servers.                                   |
| `Site`       | Devolutions site license.                                                                                                                             |
| `Enterprise` | Devolutions enterprise license.                                                                                                                       |
| `Trial`      | Trial license.                                                                                                                                        |
| `Developer`  | Free developer license for non-production use.                                                                                                        |
| `Account`    | License associated with a user or organizational account. It renews automatically, and the **Expiring** column shows **Until subscription canceled**. |
| `Online`     | Ironman Software license that checks the subscription status online and requires an internet connection.                                              |
| `Offline`    | Ironman Software license that does not require an internet connection but must be updated when the subscription renews.                               |

### License expiration

Devolutions licenses (`Server`, `Site`, `Enterprise`, `Trial`) are valid until their end date. Older Ironman Software licenses are valid for every PowerShell Universal version built before the license end date.

* When a Devolutions license, other than a trial, expires within one month and no other valid license is installed, PowerShell Universal sends the **License is Expiring Soon** notification: `Your license will expire on <date>.`
* When all licenses are expired, PowerShell Universal sends the **License is Expired** notification: `Your license has expired. Certain features will be disabled on <date>.` For non-trial licenses, licensed features keep working for one month after the end date.
* The License Expiring and License Expired events can start [triggers](https://docs.devolutions.net/powershell-universal/automation/triggers.md) even when the server is no longer licensed.

### Without a license

When no valid license is installed:

* Menu items for licensed features are locked and show `A license is required to use this feature.`
* At most 25 jobs can run at the same time.
* Triggers do not run, except for the License Expiring and License Expired events.
* Translations return `Localization requires a license.`

### Offline Licenses

Offline license files are required for environments that do not have internet access. You will need to install a new license file when you plan to upgrade to a version past the expiration date of the license.

### Online Licenses

Online licenses work the same as offline but check the subscription status on ironmansoftware.com or quoting.devolutions.net, depending on whether your license was issued by Ironman Software or Devolutions. The license is tied to a specific subscription and may require a change after renewal. We recommend account-based licensing over online licenses.

## Developer License

You can obtain a free developer license by logging in with a [Devolutions Account](https://docs.devolutions.net/portal/profile/create-your-devolutions-account). Using a developer license allows for use in non-production workloads. You can use this license for developing or testing PowerShell Universal.

During the first run wizard, you will be presented with the option to login with a Devolutions Account. After doing so, you will be redirected back to PowerShell Universal with a license installed.

### Static Login Port

PowerShell Universal, by default, selects the first available port starting at `60370` (up to `61370`) for Devolutions login attempts. This is due to restrictions of the authentication provider. If no port is available in this range, the server does not start and logs `No available port found in the specified range.` If you would like a static localhost port for local or on-host hosted scenarios, you can use the `PSULoginPort` setting or environment variable.

`PSULoginPort` makes the localhost callback port static. It does not change the callback host: the **Generate Developer License** button and the **Login with Devolutions Account** button of the first run page open `http://localhost:<PSULoginPort>/api/v1/signin/devolutions`, and the **Login with Devolutions Account** button of the login page opens `http://127.0.0.1:<PSULoginPort>/api/v1/signin/devolutions`. Exposing or forwarding the port may be necessary in some hosted environments, but exposing the port alone does not make Developer License onboarding work for remote browsers through Docker, IIS, or reverse proxy hosting.

{% code overflow="wrap" collapsedlinecount="10" %}

```json
{
    "PSULoginPort": 60370
}
```

{% endcode %}

### Disable the Login Port

Set `DisablePSULoginPort` to `true` in `appsettings.json` (or as an environment variable) to stop PowerShell Universal from listening on the login port. This also hides the **Generate Developer License** button and the Devolutions account login, and the `/api/v1/signin/devolutions` endpoint returns `404 Not Found`. The default value is `false`.

To hide only the Devolutions account login on the login page, enable **Disable Devolutions Account Login** under Settings gear > Features.

### Docker

If you want to use Docker as a mechanism for hosting your development instance of PowerShell Universal, you will need to open a port for the login port. This includes specifying the static login port as well as mapping it out of the Docker instance.

{% code overflow="wrap" collapsedlinecount="10" %}

```
docker run --rm -it `
  -e PSULoginPort=60370 `
  -p 5000:5000 `
  -p 60370:60370 `
  devolutions/powershell-universal
```

{% endcode %}

#### IIS

If you want to use IIS as mechanism for hosting your development instance of PowerShell Universal, you will need to set the static login port as part of your `web.config` file.

{% code overflow="wrap" collapsedlinecount="10" %}

```xml
<configuration>
  <system.webServer>
    <handlers>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
    </handlers>
    <aspNetCore processPath="Universal.Server.exe" arguments="--appsettings .\appsettings.json" forwardWindowsAuthToken="false" stdoutLogEnabled="true" stdoutLogFile=".\logs\log" hostingModel="OutOfProcess">
      <environmentVariables>
        <environmentVariable name="PSULoginPort" value="60370" />
    </environmentVariables>
    </aspNetCore>
  </system.webServer>

</configuration>
```

{% endcode %}

After doing so, you will need to add a new binding for the login port.

## Licensed Features

The following features of PowerShell Universal require a license.

* Debugging Tools
* Enterprise Authentication
  * OpenID Connect
  * SAML2
  * WS-Federation
  * Windows Authentication
  * Custom Authentication Scripts
  * Client Certificate
  * App Tokens
* Enterprise Authorization
  * Permissions
  * Roles
  * Custom Authorization Scripts
* Platform
  * Computers
  * Health Checks
  * User Sessions
  * Processes
  * Logging Targets
  * Rate Limits
  * Deployments
  * SSH Keys
  * Configuration Changes
  * Git Support
  * Module Management
  * Non-Database Credential Vaults
  * SQL Support
  * PostgreSQL Support
  * Published Folders
  * Cache Management
  * Computer Groups
  * Translations
* Settings
  * Branding
  * Tags
* APIs
  * Event Hubs
  * OpenAPI Documentation
* Automation
  * Triggers
  * Terminals
  * Tests
  * Workflows
* Intelligence
* Apps
  * App Page Editor
  * App Function Editor
  * App **Module**, **Files**, **Sessions** and **Debugger** tabs


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/powershell-universal/licensing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
