Skip to content

Set-CitrixLicenseConfigUsageSamples

Citrix: Sets license config usage samples

param(
	[Parameter(Mandatory = $true)]
	[bool]$Enabled
)

try {
	Import-Module Citrix.Licensing.Admin.V1 -ErrorAction Stop
	Set-LicConfigUsageSamples -Enabled $Enabled -ErrorAction Stop
	Write-Output "Successfully updated license config usage sampling."
} catch {
	Write-Error $_
	exit 1
}

Whether to enable usage sampling.

An interactive directory of PowerShell scripts.