Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
Citrix XenApp 7.x Performance Essentials

You're reading from   Citrix XenApp 7.x Performance Essentials Tune and optimize the performance of your farms with the new improved XenApp® architecture.

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher
ISBN-13 9781782176114
Length 120 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Luca Dentella Luca Dentella
Author Profile Icon Luca Dentella
Luca Dentella
Arrow right icon
View More author details
Toc

Monitoring using Microsoft PowerShell

XenApp provides an SDK based on Microsoft Windows PowerShell Version 3.0.

Using Citrix cmdlets and snap-ins, you can perform the same tasks as you would with the management console (Citrix Studio). Moreover, you can also write PowerShell scripts that retrieve performance or health data from your Citrix infrastructure to integrate with your external monitoring tool.

For example, I used PowerShell scripts to monitor XenApp installations with Nagios, a widely-used open source monitoring tool.

Note

The PowerShell SDK is compatible only with XenDesktop 5.0 or later. Snap-in names end with V1 or V2; they denote the following versions:

  • V1 is for XenDesktop 5
  • V2 is for XenDesktop 7 or later and for XenApp 7.5

In Chapter 1, Designing the New FlexCast® Management Architecture, you learned the following command to import all the Citrix plugins:

PS C:\> asnp Citrix*

This command must be at the top of every script that uses Citrix commands.

In the following sections...

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