Get-CitrixTag
Citrix: Gets Citrix tags
param(
[Parameter(Mandatory = $false)]
[string]$Name
)
try {
Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
[hashtable]$cmdArgs = @{ 'ErrorAction' = 'Stop' }
if ($Name) { $cmdArgs.Add('Name', $Name) }
$tags = Get-BrokerTag @cmdArgs
Write-Output $tags
} catch {
Write-Error $_
exit 1
}The name of the tag (optional).