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

Microsoft atteint une valorisation de 4 000 milliards de dollars

Microsoft devient la 2e entreprise à valoir 4 000 milliards de dollars Microsoft vient de…

2 semaines ago

Microsoft banni brutalement un développeur de LibreOffice

Microsoft banni brutalement un développeur de LibreOffice Microsoft banni brutalement un développeur de LibreOffice, et…

2 semaines ago

Dropbox Passwords : 5 alternatives après la fermeture de son service

Dropbox Passwords : 5 alternatives après la fermeture de son service Introduction Dropbox Passwords ferme…

2 semaines ago

Palo Alto Networks rachète Cyberark pour 25 milliards de dollars

Palo Alto Networks rachète Cyberark pour 25 milliards de dollars Introduction Palo Alto Networks rachète…

2 semaines ago

Microsoft reconnaît ne pas pouvoir garantir la souveraineté des données européennes

Microsoft reconnaît ne plus pouvoir garantir la souveraineté des données européennes Coup de tonnerre dans…

2 semaines ago

Une semaine les pieds dans l’eau à Almyrida, perle discrète de la Crète

Illustration générée par intelligence artificielle Il y a des endroits où l’on se sent bien…

2 semaines ago