Book Image

Getting Started with XenDesktop 7.x

By : Craig Thomas Ellrod
Book Image

Getting Started with XenDesktop 7.x

By: Craig Thomas Ellrod

Overview of this book

Table of Contents (27 chapters)
Getting Started with XenDesktop 7.x
Credits
Notice
About the Author
About the Reviewers
www.PacktPub.com
Preface
Creating a Domain Certificate Authority
Index

Creating an SDK script


After working with the XenDesktop SDK through a PowerShell window, you might want to build a script to execute the cmdlets. Scripts are more powerful than the command-line interface because you can have multiple cmdlets in a script and can execute them by running the script. If you are a third-party vendor integrating with XenDesktop, scripts are very important for you.

You can create scripts by reverse engineering; that is, using the ones that are used by XenDesktop.

To create scripts, perform the following steps:

  1. Open the Citrix Studio console.

  2. Perform the task that you want to replicate in a script in the Studio UI.

  3. Retrieve the log of the SDK operations that was made by Studio to perform the task.

  4. Reverse engineer the commands and understand the contents.

  5. Create your own script using the log as an inspiration.

Note

You can use variables in scripts. You can find out more about PowerShell scripting on the Microsoft website at http://technet.microsoft.com/en-us/scriptcenter...