Get-rmhpolicy, Get-virtualmachine, Get-rmhpolicy get-virtualmachine – HP 3PAR Recovery Manager Software User Manual
Page 48
Preconditions
The user must first login with Login-Rmh.
Syntax
Any optional parameters require square brackets [ ] around them.
Get-EncryptedLoginCredentials -RmhServerName <RmhServerName> [-Verbose]
Table 24 Get-EncryptedLoginCredentials parameters
Description
Optional/Required
Parameter
Host name of the RMH Server. This is
FQDN or IP address.
Required
-RmhServerName
Displays progress messages.
Optional
-Verbose
Get-RmhPolicy
The get-RmhPolicy retrieves the RMH policy settings of a Hyper-V Virtual Machine. An RMH
policy object retains the set default values for Virtual Copies. You can customize the attributes of
a Virtual Copy.
Preconditions
The user must first login with Login-Rmh.
Syntax
Any optional parameters require square brackets [ ] around them.
Get-RmhPolicy -RmhServerName <RmhServerName> -HypervName <HypervName>
-VmNameUuid <VmNameUuid> [-Verbose]
Table 25 Get-RmhPolicy parameters
Description
Optional/Required
Parameter
Host name of the RMH Server. This is
FQDN or IP address.
Required
-RmhServerName
Optionally select Hyper-V host/cluster
to use. If not specified, Hyper-V
Required
-HypervName
host/cluster must be selected using
Select-Hyperv
. This is FQDN or IP
address. Synonyms for Hyper-V are
supported. The localhost is not
supported.
Name/unique id of VM to set policy
for Virtual Machine.
Required
-VmNameUuid
Displays progress messages
Optional
-Verbose
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.
Syntax
Any optional parameters require square brackets [ ] around them.
48
Using PowerShell Snap-in Command Line Interface