Skip to content

Add-CitrixDesktopGroup

Citrix: Adds a Citrix desktop group

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

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

try {
	Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
	$group = New-BrokerDesktopGroup -Name $Name -PublishedName $PublishedName -ErrorAction Stop
	Write-Output $group
} catch {
	Write-Error $_
	exit 1
}

The name of the desktop group.

The name displayed to users.

An interactive directory of PowerShell scripts.