Jump to content
  • 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...