Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Citrix XenApp 6.5

You're reading from   Getting Started with Citrix XenApp 6.5 Design and implement Citrix farms based on XenApp 6.5 with this book and ebook

Arrow left icon
Product type Paperback
Published in Jul 2012
Publisher Packt
ISBN-13 9781849686662
Length 478 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (23) Chapters Close

Getting Started with Citrix XenApp 6.5
Credits
About the Author
Acknowledgement
About the Reviewers
Acknowledgement
www.PacktPub.com
Preface
1. Getting Started with Citrix XenApp 6.5 FREE CHAPTER 2. Designing a XenApp 6.5 Farm 3. Installing XenApp 6.5 4. Advanced XenApp Deployment 5. Using Management Tools 6. Application Publishing 7. Application Streaming 8. Managing XenApp Policies 9. Printing in XenApp Environments 10. Multimedia Content in XenApp 11. Managing Sessions 12. Scripting Programming 13. Receiver and Plug-Ins Management 14. Virtualizing XenApp Farms Index

Using PowerShell Commands from .NET applications


Now we are going to learn how to develop simple .NET applications to call Citrix PowerShell cmdlets on both Visual Basic.NET (VB.NET) and C#.NET.

Requirement to develop applications:

  • Citrix XenApp 6.5 PowerShell SDK or Citrix XenApp Commands

  • Microsoft Visual C#.NET and/or Visual Basic.NET. Microsoft provides the Express Edition of Visual Studio.NET, Visual C#.NET, and Visual Basic.NET for free at www.microsoft.com/visualstudio

Creating a sample VB.NET application

Now we are going to create a sample application to list all XenApp servers in our XenApp farm using Citrix XenApp Commands with managed code.

The first step is to start VB.NET. Samples contained in this book are developed in Microsoft Visual Basic 2010 Express Edition.

Go to File | New Project | Windows Forms Application.

Enter the desired name for our project and click on the OK button.

Adding references

The next step is to add a reference to the System.Management.Automation.dll assembly...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image