Categories: CitrixEnglish

Import and Export Citrix Policies for XenDesktop/XenApp 7+

If for some reason you need to save all the Citrix polices of your new XenApp or XenDesktop Site quickly, you can do it thanks to PowerShell with the 2 following commands.

First, import the Citrix CmdLet:


Add-PSSnapin Citrix*

Then, to export the policies by doing the following :


Export-BrokerDesktopPolicy | Out-File -FilePath C:\Policies_Export.txt

Adapt the path and filename as you like.

Now, if you would like to import back or copy your policies configuration to another Delivery Controller, you can use the following command with previous text file :


Import-BrokerDesktopPolicy (Get-Content C:\Policies_Export.txt)

The policy file will be a binary file (so it won’t be human readable).

Also note, that the name and the description of your policy settings will also be copied. Depanding on your configuration or project, you may want to change this. To do so, just double-click on the newly imported policy to modify name and description.

Original source: CTX136646.

Compatible with XenApp and XenDesktop 7+.

Share
Published by
thibault

Recent Posts

GitHub Actions + Azure Container Instances : un lab CI/CD de 40 minutes

GitHub Actions + Azure Container Instances : un lab CI/CD de 40 minutes Un lab…

3 jours ago

MCT 2025-2026 : renouvellement de mon statut Microsoft Certified Trainer

MCT 2025-2026 : renouvellement de mon statut Microsoft Certified Trainer Mon statut Microsoft Certified Trainer…

5 jours ago

S3NS obtient la aualification SecNumCloud : un pas de géant pour la Sécurité du Cloud

S3NS Obtient la Qualification SecNumCloud : Un pas de géant pour la Sécurité du Cloud…

6 jours ago

Déployer automatiquement son site avec GitHub Actions et SFTP

Déployer automatiquement son site avec GitHub Actions et SFTP Il y a quelques temps j'ai…

2 semaines ago

Proton Sheets : une nouvelle alternative à Excel Online et Google Sheets

Proton Sheets : Une Nouvelle Alternative à Excel Online et Google Sheets Introduction Proton Sheets,…

3 semaines ago

Azure Bastion : connexion RDP avec Entra ID depuis le portail Azure (Preview)

Azure Bastion : authentification Entra ID en preview pour les connexions RDP via le portail…

3 semaines ago