Set-CitrixServiceMetadata
Citrix: Sets service metadata
param(
[Parameter(Mandatory = $true)]
[string]$ServiceType,
[Parameter(Mandatory = $true)]
[hashtable]$Map
)
try {
Import-Module Citrix.Configuration.Admin.V2 -ErrorAction Stop
Set-ConfigServiceMetadata -ServiceType $ServiceType -Map $Map -ErrorAction Stop
Write-Output "Successfully updated metadata for service '$ServiceType'."
} catch {
Write-Error $_
exit 1
}The type of the Citrix service.
A hashtable of metadata key-value pairs.