Get-​Azure​Rm​Site​Recovery​VM

Gets information about Site Recovery-managed virtual machines.

Syntax

Get-AzureRmSiteRecoveryVM
   -ProtectionContainer <ASRProtectionContainer>
   [<CommonParameters>]
Get-AzureRmSiteRecoveryVM
   -ProtectionContainer <ASRProtectionContainer>
   -Name <String>
   [<CommonParameters>]
Get-AzureRmSiteRecoveryVM
   -ProtectionContainer <ASRProtectionContainer>
   -FriendlyName <String>
   [<CommonParameters>]

Description

The Get-AzureRmSiteRecoveryVM cmdlet gets information about virtual machines managed in Azure Site Recovery.

Required Parameters

-FriendlyName

Specifies the friendly name of the virtual machine.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the virtual machine.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ProtectionContainer

Specifies the Site Recovery protection container object.

Type:ASRProtectionContainer
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False