HP Application Software Suite for Microsoft Hyper-V manual Get-RmhPolicy, Get-VirtualMachine

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

Parameter

Optional/Required

Description

-RmhServerName

Required

Host name of the RMH Server. This is

 

 

FQDN or IP address.

-Verbose

Optional

Displays progress messages.

Get-RmhPolicy

The get-RmhPolicyretrieves 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-RmhPolicyparameters

Parameter

Optional/Required

Description

-RmhServerName

Required

Host name of the RMH Server. This is

 

 

FQDN or IP address.

-HypervName

Required

Optionally select Hyper-V host/cluster

 

 

to use. If not specified, Hyper-V

 

 

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.

-VmNameUuid

Required

Name/unique id of VM to set policy

 

 

for Virtual Machine.

-Verbose

Optional

Displays progress messages

Get-VirtualMachine

Get-VirtualMachineretrieves 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

Image 48
Contents User Guide AbstractDocumentation Contents Using PowerShell Snap-in Command Line Interface Support and Other ResourcesDocumentation feedback Enabling JavaScript on Web Client Index HP 3PAR Recovery Manager for Microsoft Hyper-V Architecture Features of Recovery Manager Software for Microsoft Hyper-V Types of User InterfacePowerShell Cmdlet Graphical and Command Line Interface RMH PowerShell Snap-in CmdletsWeb Browser Graphical User Interface About Virtual Copy Management Virtual Copy Data ConsistencyVirtual Copy Policy Graphical User Interface Scheduling Tool Recovery Manager for Microsoft Hyper-V Configuration Getting StartedAbout Supported System Configurations Hyper-V Virtual Machine ConfigurationOperating Systems Software PrerequisitesHyper-V Stand-Alone Host Configuration About Other RequirementsAbout Supported Network Ports Installing HP 3PAR Recovery Manager for Microsoft Hyper-V Installing the SoftwareLicense Agreement dialog Setting Destination Folder dialog Uninstalling the Software Using Microsoft Windows Control PanelUsing RMH InstallShield Wizard Program Maintenance OptionsRemoving the Program dialog Using the Web Client Interface Using Online HelpUnderstanding the Web Client Interface Hyper-V Server ViewHyper-V Server Virtual Machines Tab Hyper-V Server Virtual Volumes Tab Hyper-V Server Virtual Copy Tab Details of Virtual Copy PaneDetails of Virtual Volumes Pane Virtual Machine ViewVirtual Machine Summary Tab Virtual Hard Disks TabVirtual Volumes Tab Virtual Copies Tab Virtual Machine Control Bar Virtual Copy PaneCreate Virtual Copy Last Run Output Accessing the Web Client Type https//RmhServer5555/Server/Html5 in the address barConnecting to Recovery Manager Server Setting Up the Recovery Manager Web ClientConnecting to Hyper-V Server Installing Recovery Manager AgentUninstalling Recovery Manager Agent Disconnecting Microsoft Hyper-V Servers Updating StoreServ CredentialsAdding HP 3PAR StoreServ System Credentials Working with Virtual Copies Creating Virtual CopiesSetting Policy to Virtual Copies Virtual Machines TabVirtual Copy Policy Dialog Box Analyzing Virtual Copies Restoring Virtual Machines From Virtual CopiesRemoving Virtual Copies Mounting Virtual CopiesSelecting a Virtual Copy and Virtual Volume Unmounting Virtual CopiesScheduling Virtual Copy Creation Tasks Unmounting a Virtual CopySchedule Virtual Copy Task Wizard Scheduling Virtual Copy Analysis Tasks Schedule Virtual Copy Task Date and TimeSchedule Virtual Copy Analysis Task Wizard Logging Off From Session Schedule Virtual Copy Analysis Task SummaryUsing PowerShell Snap-in Command Line Interface Connecting to RMH ServerLogin-Rmh Login-RmhparametersConfiguring RMH Server Add-HyperVLogout-Rmhparameters Add-HyperVparametersAdd-StoreServ Set-RmhPolicyAdd-StoreServparameters Get-EncryptedLoginCredentials Get-ClusterNodeNamesSet-RmhPolicyparameters Get-RmhPolicy Get-VirtualMachineGet-RmhPolicyparameters Show-Connection Get-VirtualMachineparametersShow-Connectionparameters ShowMissingStorageSystemsCreate-vCopy Create-vCopyparametersVmNamesUuids VcNamePrefixGet-vCopy Mount-vCopyGet-vCopyparameters VcNamesUuidsMount-vCopyparameters Restore-vCopyVm Restore-vCopyVmparametersForce RestartVmCleanup Analyze-vCopyUnmount-vCopy Analyze-vCopyparametersUnmount-vCopyparameters Support and Other Resources Contacting HPHP 3PAR documentation Reference Storage Physical Planning Typographic conventions HP 3PAR branding informationRequired Document conventionsDocumentation feedback Enabling JavaScript on Web Client Add-HyperV PreconditionsSyntax Success PathsAdd-StoreServ Analyze-vCopy Create-vCopy Parameter Optional/RequiredResult with Description Multiple RmhCreateVirtualcopyResult objectsGet-ClusterNodeNames Get-EncryptedLoginPassword Get-EncryptedLoginPassword parametersGet-RmhPolicy Get-vCopy Get-VirtualMachine Login-Rmh Logout-Rmh Mount-vCopy RmhMountVirtualCopySetResult has the following descriptions Remove-HyperV Remove-HyperVparametersRemove-RmhPolicy Remove-RmhPolicyparametersRemove-StoreServ Remove-StoreServparametersRemove-vCopy Post ConditionsRemove-vCopyparameters Restore-vCopyVm Restore-vCopyVm Select-HyperV Set-RmhPolicySelect-HyperVparameters Required Name/unique id of VM used to set Policy Show-Connection Unmount-vCopyOptional Displays progress messages Unmount-vCopy Update-HyperV RmhMountVirtualCopySetResultUpdate-StoreServ Update-HyperVparametersUpdate-StoreServparameters About installing McAfee Antivirus Port conflict on user site for portDescription Workaround/ActionIndex GUISoftware prerequisites, 12 supported system configurations