Get Citrix farm version

Is there a way to get the Citrix farm version via the cmd terminal?
LVL 2
itniflAsked:
Who is Participating?
 
Vijaya Reddy Pinnapa ReddyCommented:
Look at the attachment for the path of citrix server version. or at following registry
HKLM\System\CurrentControlSet\Control\Citrix
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.
0
 
Ayman BakrSenior ConsultantCommented:
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.
0
 
itniflAuthor Commented:
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.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
basrajCommented:
Add-PSSnapin Citrix.XenApp.Commands
Get-XAFarm

This will display farm name and version information

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

Reference:  http://forums.citrix.com/thread.jspa?threadID=263080
0
 
itniflAuthor Commented:
"-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.
0
 
itniflAuthor Commented:
http://support.citrix.com/article/CTX107570/

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\NewProductVersion


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.
0
 
itniflAuthor Commented:
I didn't see your reply there elchuru, you came in before me. All honours to you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.