If you like Powershell, you will like the XenServer Powershell.
Download XenServer SDK from the Citrix.com download page (You need to logon with you Citrix credentitals)
After you have install Citrix Xenserver Powershell, you can test to see if it have been install by running this comands:
1 |
Get-PSSnapin -registered |
If it installed, you can add it to you powershell session by typing this command:
1 |
Add-PSSnapin Xen* |
To connect to the XenServer
1 |
Connect-XenServer -Url https://<ServerIP> |
To get all vm on the Xenserver:
1 |
Get-XenServer:VM |
To only show the VM with VDI in the middle of the name
1 |
Get-XenServer:VM -name *vdi* |
To see all command from XenServer Powershell
1 |
Get-Command -module Xen* |
See more commands here: