![](/images/new-backgrounds/1213368/213368137x1.webp)
Get-RmhPolicy
The
Preconditions
The user must first login with
Syntax
Any optional parameters require square brackets [ ] around them.
Table 41 Get-RmhPolicy parameters
Parameter | Optional/Required | Description |
Required | Host name of the RMH Server. This is | |
|
| FQDN or IP address. |
| Required | Optionally select |
|
| to use. If not specified, |
|
| host/cluster must be selected using |
|
| |
|
| address. Synonyms for |
|
| supported. The localhost is not |
|
| supported. |
Required | Name/unique id of VM to set policy | |
|
| for Virtual Machine. |
Optional | Displays progress messages. |
Result with Description
•{RMHirtualCopySet} has the following properties:
◦
◦
IsVirtualCopyApplicationConsistent: if yes, an application consistent VC is created.
VirtualCopyExpirationTime: if
◦
◦
VirtualCopyRetentionTime: if
SavedStateBackus: Enabled or Disabled.
Success Paths
•Scenario 1: RMH Policy is fetched. RMH Policy is fetched for specified VM.
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: VM name/uuid is not specified.
VM name or uuid must be specified to fetch RMH Policy.