Documentation on how to customize the login page.
Login page customization requires a license.
The login page colors, image, copyright and title can be customized by editing the .universal/loginPage.ps1
file.
You can host an image by using Published Folders. In this example, we have a dbatools.png
file in our local folder.
Next, we can create a loginPage.ps1
file in the repository folder. Add the various colors, text and image URL to customize the login page. As soon as you save this file, you can refresh the login page to see the result.
This login page looks like this.
This feature will be available in PowerShell Universal 2.3.
In addition to being able to customize the login page via PowerShell, you can also do so in the admin console. Click Settings \ Login page to adjust the settings.
You can override the login page with a dashboard by setting a dashboard's base URL to /login
. You need to ensure that the dashboard does not require authentication.
You will then need to implement the login features manually.