Skip to content

Export-CitrixLogReportCsv

Citrix: Exports configuration log report to CSV

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

try {
	Import-Module Citrix.ConfigurationLogging.Admin.V1 -ErrorAction Stop
	$log = Get-LogHighLevelOperation -ErrorAction Stop
	$log | Export-Csv -Path $FilePath -NoTypeInformation -ErrorAction Stop
	Write-Output "Successfully exported log report to '$FilePath'."
} catch {
	Write-Error $_
	exit 1
}

The destination path for the CSV file.

An interactive directory of PowerShell scripts.