Today, we’re releasing another new version of PowerShell Universal! 🎉

PowerShell Universal is the ultimate platform for building web-based IT tools. PowerShell Universal v1.3 provides a ton of new features and big list of bug fixes. You can download the latest version from our site or Docker Hub. If you want to learn about the new features, they have all been documented.

Features

API

Windows Authentication Support

You can now use Windows Authentication with APIs. If you are hosting in IIS with Windows Authentication enabled, you can use the -UseDefaultCredentials parameter for Invoke-WebRequest and Invoke-RestMethod for authentication.

Additional Built-In Variables

APIs now have the following built-in variables.

$Headers – Provides a hashtable of headers that were provided in the request

$URL – Provides the full URL that was sent during the request

$Data – Provides a byte array of data for the content of the request. This is useful when processing files.

New-PSUApiResponse

This cmdlet provides the ability to return custom responses from APIs. You’ll be able to set the status code and even provide file contents to return.

Automation

Scheduling Parameters

We’ve added support for setting the parameters of scripts in a schedule. This means that you can use the same script and create multiple schedules with different parameters for that script.

Dashboard

General Availability of Universal Dashboard

We have moved the Universal Dashboard frameworks out of beta. They reached the point where we consider them useable for your production use. We’ll continue to fix issues in both frameworks and continue to add features to the UDv3 framework. Please continue to provide feedback on our forums and on our issues page.

Built-In Component Management and Marketplace Support

We’ve integrate the Universal Dashboard Marketplace with the PowerShell Universal admin console. You’ll be able to browse and install components from the marketplace.

Once installed, you’ll be able to add components to dashboards for use. There’s no need to use the PowerShell Gallery cmdlets directly.

Validation for the UDStepper Component

Stepper steps can now be validated as you move through the stepper. An OnValidateStep parameter has been added to New-UDStepper to allow for you to define a script block to validate whether the user can continue in the stepper.

New-UDUpload

We’ve added a new component for uploading files. You can use it standalone or within a UDForm or UDStepper.

Published Folders

Published folders allow you to share files by publishing a local folder to a URL. For example, you can publish the C:\images folder to the path /images and it will allow for users to download all the images in the local folder.

This is the same feature that was available in PowerShell Universal Dashboard but it now supports authentication and authorization.

Platform

Custom Roles

You can now specify custom roles in the UI. You can add new roles on the Settings \ Security \ Roles tab.

Roles can be used to authorize access to APIs, Dashboards and published folders.

Release Notes

For a full set of release notes, click here.