HP StoreServ Application Suite for Microsoft Hyper-V Media Connecting to RMH Server, Login-Rmh

Models: Application Software Suite for Microsoft Hyper-V StoreServ Application Suite for Microsoft Hyper-V E-Media StoreServ Application Suite for Microsoft Hyper-V Media

1 91
Download 91 pages 10.17 Kb
Page 44
Image 44

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.

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

Preconditions

The user must first login with Login-Rmh.

Syntax

Any optional parameters require square brackets [ ] around them.

Login-Rmh-RmhServerName <-RmhServerName>-RmhUserName <-RmhUserName>-RmhPassword <-RmhPassword>[-RmhEncrytedPassword]

Table 18 Login-Rmhparameters

Parameter

Optional/Required

Description

-RmhServerName

Required

Host name of the RMH Server. This is

 

 

FQDN or IP address.

-RmhUserName

Required

RMH user name. If not specified, a

 

 

dialog box will be presented to enter

 

 

credentials.

-RmhPassword

Required

RMH user password. If not specified, a

 

 

dialog box will be presented to enter

 

 

credentials.

-RmhEncrytedPassword

 

May be used instead of

 

 

-RmhPassword

Logout-Rmh

The optional logout-RmhCmdlet logs off the user from the application.

Preconditions

The user must first login with Login-Rmh.

Syntax

Any optional parameters require square brackets [ ] around them.

Logout-Rmh -RmhServerName <RmhServerName> [-Remove]

44 Using PowerShell Snap-in Command Line Interface

Page 44
Image 44
HP StoreServ Application Suite for Microsoft Hyper-V Media Using PowerShell Snap-in Command Line Interface, Login-Rmh