0

I just started writing powershell scripts for Citrix XenServer. However, I can only find code snippets and this cmdlet poster on the internet.

Where can I find a full documentation with explanations and possible parameters directly from Citrix? All APIs and references available are only valid for the command line.

Thank you!

gotcha
  • 151
  • 2
  • 14
  • 1
    In powershell `get-help cmdletname -full` can help? – CB. Jun 27 '12 at 12:23
  • thanks, unfortunately this only works for some cmdlets like Get-XenServer:VM. When trying to get help for Get-XenServer:VM.HardShutdown it says there wouldn't be any help available. Or is there a difference to the first command? – gotcha Jun 27 '12 at 14:26
  • I'm sorry but I can help more, never user XenServer cmdlets. – CB. Jun 27 '12 at 14:38
  • ok, no problem...your hint with the powershell help was useful as well. It's just a bit weak of citrix that they don't provide a clear reference as they apparently do for the XenDesktop SnapIn – gotcha Jun 27 '12 at 19:27

1 Answers1

0

The best I could find was a reference for the underlying SDK. The cmdlets are apparently implemented using the original XenServer management API, and that API is documented. You can find a reference for it here:

http://support.citrix.com/article/CTX130426

I couldn't find anything more than that reference poster for the cmdlets however.

It's not ideal, but you can use .NET Reflector to look at the underlying code of the cmdlets to see how they are using the XenServer management API and then cross reference the docs for that API.

donovan
  • 1,442
  • 9
  • 18
  • sry, I forgot to answer last year. Thanks, I could finish my project by cross referencing these two APIs. Unfortunately a bit inconvinient - Citrix really has to improve its API documentation. – gotcha Jan 18 '13 at 11:11