Skip to content

Set-CitrixRole

Citrix: Updates an administrator role

param(
	[Parameter(Mandatory = $true)]
	[string]$Name,

	[Parameter(Mandatory = $true)]
	[string]$Description
)

try {
	Import-Module Citrix.DelegatedAdmin.Admin.V1 -ErrorAction Stop
	Set-AdminRole -Name $Name -Description $Description -ErrorAction Stop
	Write-Output "Successfully updated role '$Name'."
} catch {
	Write-Error $_
	exit 1
}

The name of the role.

The new description for the role.

An interactive directory of PowerShell scripts.