beautypg.com

5 using powershell snap-in command line interface, Connecting to rmh server, Login-rmh – HP 3PAR Application Software Suite for Microsoft Hyper-V User Manual

Page 55: Logout-rmh, Login-rmh logout-rmh

background image

5 Using PowerShell Snap-in Command Line Interface

HP 3PAR Recovery Manager for Hyper-V includes custom Powershell snap-in as the default client
interface and provides essential command lines for administrative tasks.

NOTE:

For the list of all command used in Recovery Manager for Hyper-V, see

“HP 3PAR Recovery

Manager for Microsoft Hyper-V Powershell Commands” (page 73)

Connecting to RMH Server

Use the following command lines to establish a session with the Microsoft Hyper-V server.

Login-Rmh

Log on to RMH Server using Windows RMH account.

The optional login-Rmh enables the user to log on to Recovery Manager for Hyper-V. After a
successful login is established, the user is not required to enter additional credentials for subsequent
Cmdlets.

Syntax

Any optional parameters are enclosed in square brackets [ ] around them.

Login-Rmh-RmhServerName <-RmhServerName>-RmhUserName

<-RmhUserName>-RmhPassword <-RmhPassword>[-RmhEncrytedPassword]

Table 20 Login-Rmh parameters

Description

Optional/Required

Parameter

Host name of the RMH Server. This is
FQDN or IP address.

Required

-RmhServerName

RMH user name. If not specified, a
dialog box will be presented to enter
credentials.

Required

-RmhUserName

RMH user password. If not specified, a
dialog box will be presented to enter
credentials.

Required

-RmhPassword

May be used instead of
-RmhPassword

-RmhEncrytedPassword

Logout-Rmh

The optional logout-Rmh Cmdlet logs off the user from the application.

Preconditions

The user must first login with Login-Rmh.

Syntax

Any optional parameters are enclosed in square brackets [ ] around them.

Logout-Rmh -RmhServerName

Table 21 Logout-Rmh parameters

Description

Optional/Required

Parameter

Host name of the RMH Server. This is
FQDN or IP address.

Required

-RmhServerName

Connecting to RMH Server

55