My name is Sacha Thomet I‘m from Switzerland, I‘m working with Citrix products since more than ten years , first as an Administrator today as a System Engineer I‘m not a Power Shell black belt, I just began create scripts like you will see here some months ago.
My Use Case, I wanted to know about the health status of my Citrix Provisioning Services Environment. What I want is not a replacement for the monitoring like SCOM or other known monitoring tools.
My solution is based on a powershell script which gives an HTML output via email each day. To be honest I‘ve seen a Similar script on the Blog of Jason Poyner, he have a Health Check for XenApp6 and this is where my idea come from.
The Prerequisite is Citrix Provsioning Service, of course, Powershell 2.0 and the most important thing that you register the SnapIn for PVS.
The Script checks each PVS Server, each vDisk, each Target device. The script an can be scheduled to run each day
I use this script to Check all my 6 different PVS farms, as Target Devices I have XenDesktop VDI s and XenApp servers. You will see now a Video where the Script run over my Test environment with two PVS Server, 4 vDisks and 20 XenDesktop Targets.
Citrix GeekOvation 2015 Citrix PVS HealthCheck with PowerShell
PowerShell Health Check Script
for Citrix Provisioning Services
Citrix Synergy 2015
• Sacha Thomet, Switzerland
• Working with Citrix technologies >10 years
• Scripting with PowerShell for 18 months
I want to know the detailed health state
of my PVS farm each day.
(Not a monitoring like SCOM about the Server health, I want to
have a short overview about the whole farm according to PVS.)
A PowerShell script which runs daily with this output:
- Citrix Provisioning Services
(tested on 6.1, 7.1 and 7.6)
- PowerShell 2.0
- Registered SnapIn for PVS
- The Script checks each PVS Server, each
vDisk and each Target device.
- The script can be scheduled to run daily
My Test Environment
- 2 Server on PVS 7.6
- 4 different vDisks
- ~20 Target Devices Win7 XenDesktop 7.6