VM cmdlets

Last published : Nov 12, 2026
A virtual machine (or 'guest').
The XenServer PowerShell module provides the following cmdlets for working with VM objects. For the fields and calls of the class itself, see Class: VM in the Management API reference.
Cmdlet Description
Add-XenVM Adds to fields of a VM object.
Get-XenVM Gets the VM objects in the pool.
Get-XenVMProperty Gets a property of a VM object.
Invoke-XenVM Invokes an operation on a VM object.
New-XenVM Creates a new VM object.
Remove-XenVM Deletes a VM object.
Remove-XenVMProperty Removes values from fields of a VM object.
Set-XenVM Sets fields of a VM object.