Skip to content

Import-CitrixLicenseFile

Citrix: Imports a license file

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

try {
	Import-Module Citrix.Licensing.Admin.V1 -ErrorAction Stop
	Import-LicFile -Path $FilePath -ErrorAction Stop
	Write-Output "Successfully imported license file '$FilePath'."
} catch {
	Write-Error $_
	exit 1
}

The local path to the license (.lic) file.

An interactive directory of PowerShell scripts.