< Back

Set-AzureRmSiteRecoveryReplicationProtectedItem

Thu Apr 04, 2019 5:40 am

NAME Set-AzureRmSiteRecoveryReplicationProtectedItem



SYNOPSIS

Sets recovery properties such as target network and virtual machine size for a Replication Protected Item.





SYNTAX

Set-AzureRmSiteRecoveryReplicationProtectedItem [-DefaultProfile <IAzureContextContainer>] [-LicenseType {NoLicenseType | WindowsServer}] [-Name

<String>] [-NicSelectionType {NotSelected | SelectedByUser}] [-PrimaryNic <String>] [-RecoveryNetworkId <String>] [-RecoveryNicStaticIPAddress

<String>] [-RecoveryNicSubnetName <String>] -ReplicationProtectedItem <ASRReplicationProtectedItem> [-Size <String>] [<CommonParameters>]





DESCRIPTION

The Set-AzureRmSiteRecoveryReplicationProtectedItem cmdlet sets the recovery properties for a Replication Protected Item.





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



-LicenseType <String>

Specifies the license type selection for Windows Server virtual machines migrated through Hybrid use benefit.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the recovery virtual machine.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-NicSelectionType <String>

Specifies the network interface card (NIC) properties set by user or set by default. You can specify NotSelected to go back to the default

values.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PrimaryNic <String>

Specifies the NIC of the virtual machine for which this cmdlet sets the recovery network property.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RecoveryNetworkId <String>

Specifies the ID of the Azure virtual network for which this cmdlet recovers the Protected Item.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RecoveryNicStaticIPAddress <String>

Specifies the static IP address that should be assigned to primary NIC on recovery.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RecoveryNicSubnetName <String>

Specifies the name of the Subnet on the recovery Azure virtual network for which this cmdlet recovers the Protected Item.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ReplicationProtectedItem <ASRReplicationProtectedItem>

Specifies the Azure Site Recovery Replication Protected Item.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Size <String>

Specifies the recovery virtual machine size. The value should be from the set of sizes supported by Azure virtual machines.



Required? false

Position? named

Default value None

Accept pipeline input? False

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

ASRReplicationProtectedItem

Parameter 'ReplicationProtectedItem' accepts value of type 'ASRReplicationProtectedItem' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.SiteRecovery.ASRJob







NOTES











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... tecteditem

Get-AzureRmSiteRecoveryReplicationProtectedItem

New-AzureRmSiteRecoveryReplicationProtectedItem

Remove-AzureRmSiteRecoveryReplicationProtectedItem