Get-virtualmachine, Syntax, Result with description – HP 3PAR Application Software Suite for Microsoft Hyper-V User Manual
Page 82: Success paths, Failure paths, Preconditions
Syntax
Any optional parameters require square brackets [ ] around them.
Get-vCopy -RmhServerName
[-VcNamesUuids] [-VmNamesUuids] [-Timestamp] [-Verbose]
Table 45 Get-vCopy 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.
Select VCs by name/uuid using a
comma-separated list. If not specified,
Optional
-VcNamesUuids
VCs name/uuid is not used to filter
selection.
Select names/uuids to filter VC selection
by VM. If not specified, VM
Optional
-VmNamesUuids
names/uuids is not used to filter
selection.
Specify timestamp of VC to locate in
the format mmddyyhhmmss.
Optional
-Timestamp
Displays progress messages.
Optional
-Verbose
Result with Description
•
Multiple {RMHVirtualCopySet} objects:
Multiple RMHVirtualCopySet objects (one per VM).
Success Paths
•
Scenario 1: Virtual Copy is fetched.
At least one Virtual Copy meeting the criteria is returned.
•
Scenario 2: Virtual Copy is not fetched.
No Virtual Copies meeting the criteria are specified. 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: Storage System session credentials are not provided.
Storage System session credentials are not provided for this command.
Get-VirtualMachine
Get-VirtualMachine
retrieves current Virtual Machines available on an active-session Hyper-V
host/cluster.
Preconditions
The user must first login with Login-Rmh.
82
HP 3PAR Recovery Manager for Microsoft Hyper-V Powershell Commands