Get-EmcHostSystemCredential

Gets the encrypted connection or system object creation parameters BLOB, which you can use along with the Connect-EmcSystem cmdlet to connect host systems to ESI.

 

Syntax

Get-EmcHostSystemCredential [-Silent] [<CommonParameters>]

 

Description

Creates a BLOB or encrypted string from the specified connection or system object creation parameters. It prompts you for the host name, IP address, and credentials. The cmdlet then creates a BLOB with these specified parameters. You can use the BLOB to connect or add host systems to ESI by using the Connect-EmcSystem cmdlet. You can click Test Connection in ESI to test the connection with the specified parameters. Current Credential is selected by default for authentication. If you are using another credential, then click Specify Credential and type the username and password.

 

Parameters

-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>$hBlob = Get-EmcHostSystemCredential

C:\PS>$h = $hBlob | Connect-EmcSystem

C:\PS>$h = Connect-EmcSystem -CreationBlob $hBlob

In this example, the Get-EmcHostSystemCredential cmdlet returns the creation BLOB, which is used to connect or add the host system to ESI.