Skip to content

Instantly share code, notes, and snippets.

View raducugheorghe's full-sized avatar

Raducu Gheorghe raducugheorghe

  • Romania
View GitHub Profile
<#
.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.