Gets the connected XenServer system information.





-ID <String>

Attributes: Optional, Position: 1

Specifies the XenServer server name or global ID. Wildcards are permitted. It is a positional parameter (position = 1).


-Silent <SwitchParameter>

Attributes: Optional, Position: named

Turns off all the informational and verbose messages. However, it still displays errors.


-XenServerHostSystem <IXenServerHostSystem>

Attributes: Optional, Position: named

Gets the XenServer system that the XenServer host belongs to.


-StorageRepository <StorageRepository>

Attributes: Required, Position: named

Specifies the storage repository that the host system owns.



This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.



-------------- Example 1 --------------


This example gets all of the connected XenServer systems.


-------------- Example 2 --------------

C:\PS>$xenHost = Get-EmcXenServerHost myXenHost

C:\PS>Get-EmcXenServerSystem -XenServerHostSystem $xenHost

This example gets the XenServer system of the specified XenServer host.


-------------- Example 3 --------------

C:\PS>$sr = Get-EmcXenServerStorageRepository SR1

C:\PS>Get-EmcXenServerSystem -StorageRepository $sr

This example gets the XenServer system for the specified storage repository.