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

Powershell help: distinguish between cloud and ddc


Sascha Petrak

Question

I have one desktop group that is on a DDC and another that is in the citrix cloud. I created a script that wants to grab the sessions from those groups, but the script always trys to get both groups from the cloud (even though I used the -adminaddress parameter). How do I tell the script to get that one group from the ddc and not the cloud?

Link to comment

2 answers to this question

Recommended Posts

  • 0

You will have to query both control planes separately. When querying the on-prem controller you will have to preceed your queries with

 

Set-XDCredentials -ProfileType OnPrem
 

If you are done with the on-prem contoller and want to go back to the cloud controller issue a 

 

Clear-XDCredentials
 

You will then have to authenticate to the Cloud with

 

Get-XDAuthentication
 

This can be done in different sequences, but these are the key cmdlets.

Link to comment

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...