Procedure to Export and Import Farm Policies in XenApp 6
6:52 PMSummary:
This article describes how to Import and Export XenApp policies stored in the IMA Data store (Farm Policy).
Requirements:
Citrix XenApp 6 SDK :
Citrix.GroupPolicy.Commands.psm1 :
Procedure:
Preparation:
1.
Download and install the Citrix XenApp 6 SDK on a XenApp 6 server. The SDK can be downloaded from
http://community.citrix.com/display/xa/XenApp+6+PowerShell+SDK
.
2.
Download the
Citrix.GroupPolicy.Commands.psm1 module to a local drive on the XenApp 6
server that has the SDK installed. Citrix.GroupPolicy.Commands.psm1 can
be downloaded from
http://community.citrix.com/display/xa/Exporting+and+Importing+XenApp+Group+Policies
.
3.
On the XenApp 6 server, launch Windows Power Shell with Citrix XenApp Server SDK
Start -> All Programs -> Citrix -> XenApp Server SDK -> Windows Power Shell With Citrix XenApp Server SDK
4.
At the PS prompt, run the below command :
Command:
Import-module <Path of Citrix.GroupPolicy.Commands.psm1>
Note
: When prompted for confirmation, type R for "Run once" or A for "Always run".
Command for Exporting and Import from IMA Data store Farm Policy:
1.
Run the below command to export from the IMA Data store
Farm Policy
.
Export-CtxGroupPolicy <PathToExportFolder>
2.
Run the following command to Import to the IMA Data store
Farm Policy
Import-CtxGroupPolicy <PathToExportFolder>
0 comments