Skip to content

New-CitrixApplication

Citrix: Creates a new application

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

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

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

The display name of the application.

The full path to the executable file.

An interactive directory of PowerShell scripts.