Host cmdlets

Last published : Nov 12, 2026
A physical host.
The XenServer PowerShell module provides the following cmdlets for working with Host objects. For the fields and calls of the class itself, see Class: Host in the Management API reference.
Cmdlet Description
Add-XenHost Adds to fields of a Host object.
Get-XenHost Gets the Host objects in the pool.
Get-XenHostProperty Gets a property of a Host object.
Invoke-XenHost Invokes an operation on a Host object.
Remove-XenHost Deletes a Host object.
Remove-XenHostProperty Removes values from fields of a Host object.
Set-XenHost Sets fields of a Host object.