Registers storage systems with the ESI Service.
Syntax
Add-EmcSystem [-ServiceUrl <String>] [-Silent] [<CommonParameters>]
Add-EmcSystem [-ServiceUrl <String>] [-Silent] -Params <Hashtable> -SystemType <String> -UserFriendlyName <String> [<CommonParameters>]
Parameters
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
-Params <Hashtable>
Attributes: Required, Position: named
Specifies the key value pair of the creation parameters for the system to be registered.
-SystemType <String>
Attributes: Required, Position: named
Specifies the storage system type, which you can also get with the Get-EmcSystemType cmdlet.
-UserFriendlyName <String>
Attributes: Required, Position: named
Specifies the user-friendly name for the system registered.
<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>$p = @{"SerialNumber" ="000194900300";"Host" ="10.25.0.200";"Port"=5988}
C:\PS>$p
C:\PS>Add-EmcSystem -SystemType VMAX -Params $p -UserFriendlyName MyVMAX
This example creates a key value pair of the creation parameters for the VMAX system and registers the system with a user-friendly name of MyVMAX.
-------------- Example 2 --------------
C:\PS>$p = @{"Username"="admin"; "Password"="pswd";"SpaIpAddress"="10.25.0.200"; "SpbIpAddress"="10.25.0.201"}
C:\PS>$p
C:\PS>Add-EmcSystem -SystemType VNX-Block -Params $p -UserFriendlyName MyVNX
This example creates a key value pair of the creation parameters for a VNX-block system and registers the system with a user-friendly name of MyVNX.
-------------- Example 3 --------------
C:\PS>Add-EmcSystem
When you run this cmdlet in this example, you are prompted to specify the parameters to register the system for the ESI Service.