Set-CitrixRebootScheduleMetadata
Citrix: Sets reboot schedule metadata
param(
[Parameter(Mandatory = $true)]
[string]$Name,
[Parameter(Mandatory = $true)]
[hashtable]$Map
)
try {
Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
Set-BrokerRebootScheduleMetadata -Name $Name -Map $Map -ErrorAction Stop
Write-Output "Successfully updated metadata for reboot schedule '$Name'."
} catch {
Write-Error $_
exit 1
}The name of the reboot schedule.
A hashtable of metadata key-value pairs.