Get-EmcHostBusAdapter

Gets the list of host bus adapters for the specified hosts.

 

Syntax

 

Parameters

-HostSystem <IHostSystem>

Attributes: Required, Position: 1

Specifies the ESI host system object. You can add a host system object to ESI by using the Get-EmcHostSystemCredential and Connect-EmcSystem cmdlets. You can get a host system object by using the Get-EmcHostSystem cmdlet. The object can be a stand-alone host system, a virtual machine, or a hypervisor.

 

ClusterSystem <IClusterSystem>

Attributes: Required, Position: 1

Specifies the ESI cluster system object, which you can add to ESI by using the Get-EmcClusterSystemCredential and Connect-EmcSystem cmdlets. You can get the cluster system object by using the Get-EmcClusterSystem cmdlet.

 

-ReplicationSystem <ReplicationSystem>

Attributes: Required, Position: 1

Specifies the replication system, which is an individual replication appliance that performs and facilitates replication.

 

-ReplicationServiceSite <ReplicationServiceSite>

Attributes: Required, Position: 1

Specifies the replication service site in which the replication system resides.

 

-iSCSI <SwitchParameter>

Attributes: Optional, Position: named

Specifies an optional parameter through which the iSCSI HBA type filter can be filtered out.

 

-FC <SwitchParameter>

Attributes: Optional, Position: named

Specifies an optional parameter through which the FC HBA type filter can be filtered out.

 

-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>$h = Get-EmcHostSystem *.148

C:\PS>Get-EmcHostBusAdapter -HostSystem $h

This example gets the host bus adapter of the specified host system.

 

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

C:\PS>$c = Get-EmcClusterSystem *.157

C:\PS>Get-EmcHostBusAdapter -ClusterSystem $c

This example gets the host bus adapter of the specified cluster system.

 

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

C:\PS>$h = Get-EmcHostSystem *.148

C:\PS>Get-EmcHostBusAdapter -HostSystem $h -FC

This example gets all host bus adapters for the specified host system with the FC type.

 

-------------- Example 4 --------------

C:\PS>$c = Get-EmcClusterSystem *.157

C:\PS>Get-EmcHostBusAdapter -ClusterSystem $c -iSCSI

This example gets the host bus adapter of the specified cluster system with the iSCSI type.