itnifl
asked on
Get Citrix farm version
Is there a way to get the Citrix farm version via the cmd terminal?
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
ASKER
"-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.
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.
ASKER
http://support.citrix.com/article/CTX107570/
HKEY_LOCAL_MACHINE\SYSTEM\ CurrentCon trolSet\Co ntrol\Citr ix\NewProd uctVersion
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.
HKEY_LOCAL_MACHINE\SYSTEM\
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.
ASKER
I didn't see your reply there elchuru, you came in before me. All honours to you!
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.