Jump to content
Welcome to our new Citrix community!
  • 0

Automate: Export and Import DDC Policys from remote computer or from a script server with task scheduler


Bit-101

Question

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...