Skip to content

Remove-CitrixCatalog

Citrix: Removes a machine catalog

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

try {
	Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
	Remove-BrokerCatalog -Name $Name -Force -ErrorAction Stop
	Write-Output "Successfully removed machine catalog '$Name'."
} catch {
	Write-Error $_
	exit 1
}

The name of the catalog to remove.

An interactive directory of PowerShell scripts.