Add-EmcSystem (ESI Service)

Registers storage systems with the ESI Service.

 

Syntax

 

Parameters

-ServiceUrl <String>

Attributes: Optional, Position: named

Specifies the base URL for the ESI Service. This must contain only the scheme, host, and port. If no value is specified, ESI uses the default of localhost or the value set by using the Set-EmcServiceUrl cmdlet.

 

-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.