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