O'Reilly logo

Getting Started with XenDesktop® 7.x by Craig Thomas Ellrod

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the XenDesktop® SDK

As mentioned, the XenDesktop SDK contains PowerShell snap-ins for XenDesktop that are installed automatically when the controller or Studio are installed.

To run a XenDesktop cmdlet, perform the following steps:

  1. Log in to the controller with an administrator account.
  2. There are two ways to launch PowerShell, as follows:
    • From the Windows start menu, navigate to Start | PowerShell
    • From Citrix Studio, navigate to PowerShell | Launch PowerShell
  3. In the PS c:\> prompt, type Set-ExecutionPolicy Unrestricted and Answer "Y" to the prompt.
  4. Load individual PowerShell snap-ins; for example, Add-PSSnapin Citrix.AdIdentity.Admin.V2.
  5. Load all Citrix PowerShell snap-ins using the Add-PSSnapin alias, asnp Citrix.*, as shown in the following screenshot: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required