beautypg.com

Import-repository, Syntax, Result with description – HP 3PAR Application Software Suite for Microsoft Hyper-V User Manual

Page 83: Success paths, Failure paths, Preconditions

background image

Syntax

Any optional parameters require square brackets [ ] around them.

Get-VirtualMachine -RmhServerName -HypervName
[-Verbose]

Table 46 Get-VirtualMachine parameters

Description

Optional/Required

Parameter

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

Required

-RmhServerName

Select Hyper-V host/cluster to use. This
is FQDN or IP address. Synonyms for

Required

-HypervName

Hyper-V are supported. The
localhost

is not supported.

Displays progress messages.

Optional

-Verbose

Result with Description

Multiple {RMHirtualMachineInfo} objects:
Multiple RMHirtualMachineInfo objects (one per VM).

Success Paths

Scenario 1: Virtual Machine(s) is fetched.
At least one Virtual Machine is returned.

Scenario 2: Virtual Machine(s) is not fetched.
No Virtual Machines are available. Nothing is returned.

Failure Paths

Scenario 1: Session owner is invalid.
Every session command received on RMH Server is validated to originate from the same IP
address that initiated the session. If IP does not match, the command fails.

Scenario 2: Unable to fetch Hyper-V.
A Hyper-V is required to fetch VMs.

Import-Repository

The following parameters explain how to import to a repository.

Preconditions

The user must first login with Login-Rmh.

Syntax

Any optional parameters require square brackets [ ] around them.

Import-Repository -RmhServerName -FromPath
[-FromMachine [-MachineUsername ] [-MachinePassword
] [-Force] []

Import-Repository

83