The (Un)Availability of CPSCOM

by Nicholas Dille on 07/21/2008 | 0 Comments | 3,566 Views

Inspired by Andy Zhu's article explaining how to exclude a server from load balancing, I repeated some of the commands from my earlier article about CPSCOM to explore which interfaces are available.

PS C:\Documents and Settings\Administrator.SEPAGOND> Get-ChildItem
REGISTRY::HKEY_CLASSES_ROOT\CLSID -include PROGID -recurse |
ForEach-Object {$_.GetValue(”")} | Where-Object {$_ -like “*CPSCOM*”} |
Sort-Object
CPSCOM.CPSSession.1 CPSCOMInterop.CPSApplication.1 CPSCOMInterop.CPSLoadManager.1 CPSCOMInterop.CPSServer.1

 

Each of these objects can be instantiated using New-Object. Unfortunately, Get-Member does not provide very much information about the usage of the exposed functions:


$session = New-Object -COM CPSCOM.Session.1
$session | Get-Member
$app = New-Object -COM CPSCOMInterop.CPSApplication.1
$app | Get-Member
$lm = New-Object -COM CPSCOMInterop.CPSLoadManager.1
$lm | Get-Member
$server = New-Object -COM CPSCOMInterop.CPSServer.1
$server | Get-Member

Availability of CPSCOM

On one hand, Vishal Ganeriwala has commented on the CDN Community page stating that CPSCOM is an internal interface for use by Citrix and that any third party applications developed using CPSCOM will not be supported by Citrix. On the other hand, a CPSCOM-based script is published on the CDN. I am not sure what to make of this situation. Is there a change of policy about CPSCOM? Will my environment be supported when I implement this script which is based on an unsupported API? What about me changing the script to be able to reverse the effect?

I admit that I am really excited about a new scripting interface hopefully without the quirks of MFCOM. In many presentations, Citrix is announcing a new PowerShell-based SDK for some point in the future but I'd rather see it published sooner than later. The current state of CPSCOM (being unsupported) reminds me a lot of the support policy of MFCOM some years back, when Citrix had a documentation published but did not address issues in the API. And it was a great step when Citrix finally decided to offer full support for MFCOM-based scripts in the case a reproducible error is discovered.

Now, there is a new API for interfacing with Citrix products called CPSCOM in Presentation Server and XenDesktop (which is based on Presentation Server) and, obviously, Citrix deems CPSCOM to be stable enough to use it for the Access Management Console. I'd just love to see it properly documented for partners and customers to use with the necessary support.

 

References

First Dive Into CPSCOM

Followup: First Dive Into CPSCOM

CDN Community Page about First Dive into CPSCOM

+++ Your opportunity +++ Use Profile Migrator 2, the new sepago product that makes migrating user personalities between different platforms a breeze.! Download your free version now!

Add Comment

The content of this field is kept private and will not be shown publicly.
Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Citrix Competence Blog

The perfect integration of Citrix products is one main focus of sepago consulting services. In this blog our consultants are reporting about trends, new technologies and technical deep dives.The best place for straight talk about Citrix Products.

RSS-FeedSubscribe all Articles

 

About the author

nicholas's picture
Nicholas Dille
Head of Technology and Innovation
Blogs about Centralized computing, virtualization and performance monitoring

All articles