New-EmcStorageRegisteredInitiator

Registers a host initiator on a specified storage system.

 

Syntax

New-EmcStorageRegisteredInitiator -RegisteredHost <RemoteHost> -InitiatorIds <String[]> [-Silent] [<CommonParameters>]

 

Parameters

-RegisteredHost <RemoteHost>

Attributes: Required, Position: named

Specifies the registered host for which the initiators will be registered on the storage system.

 

-InitiatorIds <String[]>

Attributes: Required, Position: named

Specifies the IDs of the initiators to be registered. The values for the initiator IDs can be either WWN (World Wide Name) or IQN (iSCSI Qualified Name).

 

-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>$rh = Get-EmcStorageRegisteredHost TestHost.localdomain

C:\PS>New-EmcStorageRegisteredInitiator -RegisteredHost $rh -InitiatorIds "iqn.1991-05.com.microsoft:TestHost.localdomain"

This example registers an initiator for a specified registered host on the storage system. The storage system information is implied in the registered host.