< Back
Get-AzureRmSiteRecoveryVM
Post
NAME Get-AzureRmSiteRecoveryVM
SYNOPSIS
Gets information about Site Recovery-managed virtual machines.
SYNTAX
Get-AzureRmSiteRecoveryVM [-DefaultProfile <IAzureContextContainer>] -FriendlyName <String> -ProtectionContainer <ASRProtectionContainer>
[<CommonParameters>]
Get-AzureRmSiteRecoveryVM [-DefaultProfile <IAzureContextContainer>] -Name <String> -ProtectionContainer <ASRProtectionContainer>
[<CommonParameters>]
Get-AzureRmSiteRecoveryVM [-DefaultProfile <IAzureContextContainer>] -ProtectionContainer <ASRProtectionContainer> [<CommonParameters>]
DESCRIPTION
The Get-AzureRmSiteRecoveryVM cmdlet gets information about virtual machines managed in Azure Site Recovery.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-FriendlyName <String>
Specifies the friendly name of the virtual machine.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of the virtual machine.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ProtectionContainer <ASRProtectionContainer>
Specifies the Site Recovery protection container object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
ASRProtectionContainer
Parameter 'ProtectionContainer' accepts value of type 'ASRProtectionContainer' from the pipeline
ASRProtectionContainer
Parameter 'ProtectionContainer' accepts value of type 'ASRProtectionContainer' from the pipeline
OUTPUTS
System.Collections.Generic.IEnumerable`1[Microsoft.Azure.Commands.SiteRecovery.ASRVirtualMachine]
NOTES
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... recoveryvm
Set-AzureRmSiteRecoveryVM
SYNOPSIS
Gets information about Site Recovery-managed virtual machines.
SYNTAX
Get-AzureRmSiteRecoveryVM [-DefaultProfile <IAzureContextContainer>] -FriendlyName <String> -ProtectionContainer <ASRProtectionContainer>
[<CommonParameters>]
Get-AzureRmSiteRecoveryVM [-DefaultProfile <IAzureContextContainer>] -Name <String> -ProtectionContainer <ASRProtectionContainer>
[<CommonParameters>]
Get-AzureRmSiteRecoveryVM [-DefaultProfile <IAzureContextContainer>] -ProtectionContainer <ASRProtectionContainer> [<CommonParameters>]
DESCRIPTION
The Get-AzureRmSiteRecoveryVM cmdlet gets information about virtual machines managed in Azure Site Recovery.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-FriendlyName <String>
Specifies the friendly name of the virtual machine.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of the virtual machine.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ProtectionContainer <ASRProtectionContainer>
Specifies the Site Recovery protection container object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
ASRProtectionContainer
Parameter 'ProtectionContainer' accepts value of type 'ASRProtectionContainer' from the pipeline
ASRProtectionContainer
Parameter 'ProtectionContainer' accepts value of type 'ASRProtectionContainer' from the pipeline
OUTPUTS
System.Collections.Generic.IEnumerable`1[Microsoft.Azure.Commands.SiteRecovery.ASRVirtualMachine]
NOTES
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... recoveryvm
Set-AzureRmSiteRecoveryVM