Removes the specified host initiator from the storage system where the initiator host is registered.
Syntax
Remove-EmcStorageRegisteredInitiator [-RegisteredInitiator] <RemoteInitiator> [-Force] [-Silent] [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters
-RegisteredInitiator <RemoteInitiator>
Attributes: Required, Position: 1
Specifies the registered initiator to be removed.
-Force <SwitchParameter>
Attributes: Optional, Position: named
Allows the cmdlet to continue without asking for user confirmation.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
-WhatIf <SwitchParameter>
Attributes: Optional, Position: named
Shows what would happen if the cmdlet runs. The cmdlet is not run.
-Confirm <SwitchParameter>
Attributes: Optional, Position: named
Prompts you for confirmation before executing the command.
<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>Remove-EmcStorageRegisteredInitiator -RegisteredInitiator $rh.Initiators[0]
This example removes a registered initiator for a specified storage system. The storage system information is implied in the initiator object.