Skip to content

Set-CitrixScope

Citrix: Updates a scope

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

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

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

The name of the scope.

The new description for the scope.

An interactive directory of PowerShell scripts.