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

Sauvegarder son NAS UGREEN vers Azure avec Rclone : guide en 3 étapes

Sauvegarder son NAS UGREEN vers Azure avec RCLONE Introduction Lorsque l’on possède un NAS, la…

4 jours ago

Comment mettre en place un relay SMTP pour Azure avec Microsoft 365

Comment mettre en place un relay SMTP pour Azure avec Microsoft 365 Dans l'informatique, nous…

6 jours ago

Free Mobile : Une Innovation avec l’Intégration d’un VPN Gratuit dans ses Forfaits

Free Mobile : Une Innovation avec l'Intégration d'un VPN Gratuit dans ses Forfaits Introduction Free…

7 jours ago

Proton suspend des comptes de journalistes : 3 raisons qui soulèvent des inquiétudes

Proton suspend des comptes de journalistes : 3 raisons qui soulèvent des inquiétudes Introduction Proton…

1 semaine ago

Synology ou UGREEN : quel NAS choisir en 2025 ?

NAS UGREEN DXP2800 2 baies Pendant plus de dix ans, j’ai été un utilisateur fidèle…

2 semaines ago

Authentification multi facteur obligatoire sur Azure : Phase 2 dès octobre 2025

Authentification multi facteur obligatoire sur Azure : Phase 2 dès octobre 2025 Introduction L'authentification multi…

3 semaines ago