< Back
Set-AzureRmSiteRecoveryVM
Post
NAME Set-AzureRmSiteRecoveryVM
SYNOPSIS
Sets the recovery-side options for a Site Recovery protection entity.
SYNTAX
Set-AzureRmSiteRecoveryVM [-DefaultProfile <IAzureContextContainer>] [-Name <String>] [-NicSelectionType {NotSelected | SelectedByUser}]
[-PrimaryNic <String>] [-RecoveryNetworkId <String>] [-RecoveryNicStaticIPAddress <String>] [-RecoveryNicSubnetName <String>] [-Size <String>]
-VirtualMachine <ASRVirtualMachine> [<CommonParameters>]
DESCRIPTION
The Set-AzureRmSiteRecoveryVM cmdlet sets the recovery-side protection options, such as the recovery virtual machine size and recovery virtual
machine network, for Azure Site Recovery protection entities.
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
-Name <String>
Specifies the name of the target virtual machine.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NicSelectionType <String>
Specifies the network adapter selection properties. The acceptable values for this parameter are:
- NotSelected
- SelectedByUser
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PrimaryNic <String>
Specifies the primary network adapter card.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryNetworkId <String>
Specifies the recovery network ID.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryNicStaticIPAddress <String>
Specifies the static IP address that is assigned to primary network adapter controller on recovery.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryNicSubnetName <String>
Specifies the Azure virtual network subnet name with which to attach the primary network adapter controller on recovery.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Size <String>
Specifies the target virtual machine size.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-VirtualMachine <ASRVirtualMachine>
Specifies the Site Recovery virtual machine 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
ASRVirtualMachine
Parameter 'VirtualMachine' accepts value of type 'ASRVirtualMachine' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.SiteRecovery.ASRJob
NOTES
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... recoveryvm
Get-AzureRmSiteRecoveryVM
SYNOPSIS
Sets the recovery-side options for a Site Recovery protection entity.
SYNTAX
Set-AzureRmSiteRecoveryVM [-DefaultProfile <IAzureContextContainer>] [-Name <String>] [-NicSelectionType {NotSelected | SelectedByUser}]
[-PrimaryNic <String>] [-RecoveryNetworkId <String>] [-RecoveryNicStaticIPAddress <String>] [-RecoveryNicSubnetName <String>] [-Size <String>]
-VirtualMachine <ASRVirtualMachine> [<CommonParameters>]
DESCRIPTION
The Set-AzureRmSiteRecoveryVM cmdlet sets the recovery-side protection options, such as the recovery virtual machine size and recovery virtual
machine network, for Azure Site Recovery protection entities.
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
-Name <String>
Specifies the name of the target virtual machine.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NicSelectionType <String>
Specifies the network adapter selection properties. The acceptable values for this parameter are:
- NotSelected
- SelectedByUser
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PrimaryNic <String>
Specifies the primary network adapter card.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryNetworkId <String>
Specifies the recovery network ID.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryNicStaticIPAddress <String>
Specifies the static IP address that is assigned to primary network adapter controller on recovery.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryNicSubnetName <String>
Specifies the Azure virtual network subnet name with which to attach the primary network adapter controller on recovery.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Size <String>
Specifies the target virtual machine size.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-VirtualMachine <ASRVirtualMachine>
Specifies the Site Recovery virtual machine 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
ASRVirtualMachine
Parameter 'VirtualMachine' accepts value of type 'ASRVirtualMachine' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.SiteRecovery.ASRJob
NOTES
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... recoveryvm
Get-AzureRmSiteRecoveryVM