< Back

Remove-AzureRmSiteRecoveryReplicationProtectedItem

Thu Apr 04, 2019 5:40 am

NAME Remove-AzureRmSiteRecoveryReplicationProtectedItem



SYNOPSIS

Removes an Azure Site Recovery Replication Protected Item.





SYNTAX

Remove-AzureRmSiteRecoveryReplicationProtectedItem [-DefaultProfile <IAzureContextContainer>] [-Force] -ReplicationProtectedItem

<ASRReplicationProtectedItem> [-WaitForCompletion] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmSiteRecoveryReplicationProtectedItem cmdlet removes an Azure Site Recovery Replication Protected Item. This operation causes

replication to stop for the 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



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ReplicationProtectedItem <ASRReplicationProtectedItem>

Specifies the Replication Protected Item object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-WaitForCompletion [<SwitchParameter>]

Indicates that the cmdlet waits for the operation to complete.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs.



The cmdlet is not run.



Required? false

Position? named

Default value False

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

Set-AzureRmSiteRecoveryReplicationProtectedItem