Get Citrix farm version

Posted on 2012-08-14
Last Modified: 2012-08-16
Is there a way to get the Citrix farm version via the cmd terminal?
Question by:itnifl
    LVL 23

    Expert Comment

    by:Ayman Bakr
    Not that I know of; but you can do some scripting to retrieve this information - something which currently I don't know much on and thus can't help on ;)

    However, you can get the XenApp Farm version by browsing to your servers in the AppCenter and looking at the 'version' column in the right pane. It will provide you with the farm version (actually the servers' XenApp versions) the servers are in. Hope this helps.
    LVL 2

    Author Comment

    The best thing is to retrieve the information via a script, I need it to execute either one script or the other depending on the farm version. I was thinking of doing that in batch, but I am open for other options. Doing it in powershell is problemativ since the citrix cmdlets are compatable only for 6.0 and above, while vbs works for 5.x and less. I need to determine the farm version/Citrix version used in the farm in the same way each time regardless of what farm version I am doing this in.
    LVL 9

    Accepted Solution

    Look at the attachment for the path of citrix server version. or at following registry
    NewProductVersion: 6.x/5.x/4.x
    ProductFeature: ADV/ENT

    If you want to stick with VBScript use it to read the version and platform out of the registry.
    LVL 19

    Expert Comment

    Add-PSSnapin Citrix.XenApp.Commands

    This will display farm name and version information

    Note that this is only available in XenApp 6 and later versions

    LVL 2

    Author Comment

    "-Note that this is only available in XenApp 6 and later versions "

    Yup, thats the problem. As stated, I need to get the farm version regardless of what farm I am in, the same way every time.
    LVL 2

    Author Comment



    Thats the solution. I will read that key with a script, and the key will tell me the farm version.
    I can do that on any version I might be on at any given moment, the same way each time.

    With the farm version in hand, I can further decide the execution of other scripts etc.
    LVL 2

    Author Closing Comment

    I didn't see your reply there elchuru, you came in before me. All honours to you!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    #CITRIX #XENDESKTOP #POC #Citrix Studio
    Citrix XenDesktop, gold image, VMware, vSphere.
    This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
    This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now