Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Citrix Configuration Log with Property Old and New Values (in JSON format)
# Create a UDL file to access the SQL database
Add-Content C:\conflog.udl –Value $null; Start-Process C:\conflog.udl
# Load the Citrix Common Commands Snapin
Get-PSSnapin -Registered "Citrix.Common.Commands" | Add-PSSnapin
# Get the configuration log and convert to JSON
Get-CtxConfigurationLogReport -DataLinkPath C:\conflog.udl | ConvertTo-Json -Depth 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment