11 lines
234 B
PowerShell
11 lines
234 B
PowerShell
|
function Get-TeamCityAgentHostnames {
|
||
|
<#
|
||
|
.SYNOPSIS
|
||
|
Returns an array of hostnames of the TeamCity agent instances
|
||
|
#>
|
||
|
[CmdletBinding()]
|
||
|
[OutputType([string[]])]
|
||
|
param()
|
||
|
|
||
|
return Get-TeamCityHostnames -Type Agent
|
||
|
}
|