Documenting Citrix XenApp 6.5 Inventory Assessment Script – Windows PowerShell

22 Oct

Imagine yourself in a situation where you have to capture the entire XenApp 6.5 Farm information to understand what the customers have in their environment. The traditional way to understand the environment is  to sit down multiple times with the CTX Architects/Admins to understand the details of infrastructure and even then missing on important details. This script will document whatever you see under the Citrix AppCenter Console and the output can be copied to a txt or word document.

My Testing results

I ran the script in my environment and generated the output as per the figures mentioned below. I am listing down certain requirements and things I learnt during the execution:

Step 1:

  • Download the Citrix XenApp 6.5 PowerShell SDK and simply go through the typical installation
  • Downloaded the Citrix XenApp Group Policies and place the files under two folders
    • C:\Windows\System32\WindowsPowerShell\v1.0\Modules, in a new folder named Citrix.GroupPolicy.Commands
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules, in a new folder named Citrix.GroupPolicy.Commands
  • Make sure you open the File Properties of Citrix.GroupPolicy.Commands.psm1 file and click on Unblock and click Apply and OK. If you don’t go through this step you will get an error during importing of module

Step2:

  • Open Windows PowerShell console and type Set-ExecutionPolicy RemoteSigned
  • Open Windows PowerShell screen and type import-module Citrix.GroupPolicy.Commands

Step3:

  • Download the script from Script and place the script under the C:\XAInventory folder
  • Click Start – All Programs – Citrix – XenApp 6.5 Server SDK – Windows PowerShell with Citrix XenApp 6.5 Server SDK
  • Navigate to C:\XAInventory folder and type .\XA65_Inventory.ps1 |out-file .\XA65Farm.txt
  • Copy the output from C:\XA65Farm\XA65Farm.txt to a Word Document for better reading and formatting.

Step4:

  • Analyze the customer environment with complete detailed information for the XenApp 6.5 infrastructure

Inventory Output Results:

XenApp Inventory Output

A lot more is captured with respect to Server, Zones, Applications etc. Check it out yourself to experience the in depth details

Source: (Thanks)
Lets give some respect and thanks to the author of this script Carl Webster because of whom we all will be saving none less than 30-40 hours of efforts in capturing details of the XenApp Environment. He has written a 13 page blog on what all information is captured in the inventory script. Note if you check out his blog there are scripts for multiple versions of XenApp 6.5/6/5

If you like this post please leave your valuable comments

Best Regards,
Aresh Sarkari

3 Responses to “Documenting Citrix XenApp 6.5 Inventory Assessment Script – Windows PowerShell”

  1. Luis Eduardo Gutierrez Camberos June 11, 2014 at 1:42 pm #

    Script page no longer available

  2. Aresh Sarkari's Blog March 3, 2016 at 8:57 am #

    Updated the link!

  3. Parker Newman July 9, 2019 at 1:10 pm #

    Well, it’s a nice one, I have been looking for. Thanks for sharing such informative stuff.sell closeout merchandise

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: