Gets the host information from a connected XenServer system.
Syntax
Get-EmcXenServerHost [[-ID] <String>] [-XenServer
<IXenServer>] [-Silent]
[<CommonParameters>]
Parameters
-ID <String>
Attributes: Optional, Position: 1
Specifies the XenServer host name or UUID. Wildcards are permitted. It is a positional parameter (position = 1).
-XenServer <IXenServer>
Attributes: Optional, Position: named
Specifies the owner XenServer.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
<CommonParameters>
This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.
Examples
-------------- Example 1 --------------
C:\PS>Get-EmcXenServerHost -XenServer
$xen
This example lists the XenServer hosts of the specified XenServer system.