This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.Synopsis | |
Trigger a TeamCity backup using the TeamCity REST API. | |
.Parameter username | |
Defines a TeamCity username which has authority to trigger backups. | |
.Parameter password | |
Defines the password for the user which will trigger the backup. | |
.Parameter baseUrl | |
Defines the URL to the TeamCity server (eg: http://teamcity.example.com). | |
If not set, the script will attempt to determine it from the TeamCity properties file. |