Bit-101 Posted May 23, 2019 Share Posted May 23, 2019 https://support.citrix.com/article/CTX136646 This is what Citrix is says: "..Export and Import DDC Policys from another computer To export a set of policies: Add-PSSnapin Citrix* New-PSDrive Site -PSProvider CitrixGroupPolicy -Root \ -Controller localhost Export-BrokerDesktopPolicy | Out-File -FilePath "C:\Temp\all-ctx-policy.txt" To import a set of policies: Add-PSSnapin Citrix* New-PSDrive Site -PSProvider CitrixGroupPolicy -Root \ -Controller localhost Import-BrokerDesktopPolicy (Get-Content "C:\Temp\all-ctx-policy.txt")" But this is still a local and manual job -thats s the problem I want to atomate this export and import with a job from a script server with task schelduer Anyone? Really appreciate your answer :) Link to comment
Silvio Balduzzi1709153051 Posted June 12, 2019 Share Posted June 12, 2019 You can export the policies, into a shared folder, with the export script scheduled by a first DDC and import these policies by a second script scheduled by a second DDC. In the alternative, you can use the Citrix policies into GPO and apply identically policies to all farms. Can this be a solution for you? Link to comment
Question
Bit-101
https://support.citrix.com/article/CTX136646
This is what Citrix is says:
"..Export and Import DDC Policys from another computer
To export a set of policies:
Add-PSSnapin Citrix*
New-PSDrive Site -PSProvider CitrixGroupPolicy -Root \ -Controller localhost
Export-BrokerDesktopPolicy | Out-File -FilePath "C:\Temp\all-ctx-policy.txt"
To import a set of policies:
Add-PSSnapin Citrix*
New-PSDrive Site -PSProvider CitrixGroupPolicy -Root \ -Controller localhost
Import-BrokerDesktopPolicy (Get-Content "C:\Temp\all-ctx-policy.txt")"
But this is still a local and manual job -thats s the problem
I want to atomate this export and import with a job from a script server with task schelduer
Anyone?
Really appreciate your answer
:)
Link to comment
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.