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:
- Open the Citrix Studio console.
- Perform the task that you want to replicate in a script in the Studio UI.
- Retrieve the log of the SDK operations that was made by Studio to perform the task.
- Reverse engineer the commands ...
Get Getting Started with XenDesktop® 7.x now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.