Repository
Information about the PowerShell Universal repository.
The configuration data for PowerShell Universal is primarily stored within the repository. By default, the repository folder can be found in
%ProgramData%\UniversalAutomation\Repository
. You can adjust the location of the repository by editing the appsettings.json
file. The repository contains PowerShell scripts and XML files that are produced when using the PowerShell Universal admin console. The repository folder is also watched for changes so any change made on disk will cause the system to reload the file and reconfigure the platform. When using Git integration, the repository folder is what is synchronized with the git remote.
Files stored in the repository are stored as plain text to allow for easy differencing with source control tools.
- Authentication
- Dashboards
- Endpoints
- Environments
- Licenses
- Login Pages
- Pages
- Published Folders
- Rate Limits
- Roles
- Schedules
- Scripts
- Settings
- Tags
- Triggers
These entities are stored within the PowerShell Universal database.
- App Tokens
- Identities
- Job History
Stored in
.universal\authentication.ps1
This script is responsible for configuring forms authentication. If forms authentication is not being used, this file is ignored.
Stored in
.universal\dashboards.ps1
This script is responsible for registering PS1 files are dashboards with the system. Each command contains the meta-data for the dashboard including name, base URL, and environment.
Stored in
.universal\endpoints.ps1
This script is responsible for defining all the API endpoints within the PowerShell Universal instance.
Stored in
.universal\environments.ps1
This script is responsible for defining all the environments within PowerShell Universal.
Stored in
.universal\licenses.ps1
This script is responsible for defining the license used in PowerShell Universal.
Set-PSULicense -Key "<License></License>"
Stored in
.universal\loginPage.ps1
Stored in the
pages
folder.This folder contains the page XML files. These are not intended to be edited manually and should be edited with the page designer.
Stored in
.universal\publishedFolders.ps1
Stored in
.universal\rateLimits.ps1
Stored in
.universal\roles.ps1
Stored in
.universal\schedules.ps1
Stored in
.universal\scripts.ps1
This script contains the meta-data for scripts. Actual scripts can be stored anywhere. The path that is included is relative to the repository. Full path names are also allowed.
Stored in
.universal\settings.ps1
Stored in
.universal\tags.ps1
This script is responsible for configuring tags.
Stored in
.universal\triggers.ps1
Stored in
.universal\variables.ps1
Last modified 1yr ago