After installing the XenServer powershell cmdlet’s, the cmdlet’s are by default only available in the 32-bit environment of powershell. When you want to use these cmdlet’s within the native 64-bit environment you have to launch a command after the installation of the XenServer Powershell SDK.

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\InstallUtil.exe "c:\Program Files (x86)\Citrix\XenServerPSSnapIn\XenServerPSSnapIn.dll"

After the DLL is loaded succesfully you can start using the cmdlet’s by invoking

Add-PSSnapin XenServerPSSnapIn

Or use the “Citrix XenServer PowerShell SnapIn” StartMenu item

Happy Scripting!