< Back

Remove-AzureRmRecoveryServicesAsrFabric

Tue Jan 29, 2019 10:01 pm

NAME Remove-AzureRmRecoveryServicesAsrFabric



SYNOPSIS

Deletes the specified Azure Site Recovery Fabric from the Recovery Services vault.





SYNTAX

Remove-AzureRmRecoveryServicesAsrFabric [-Confirm] [-DefaultProfile <IAzureContextContainer>] [-Force] -InputObject <ASRFabric> [-WhatIf]

[<CommonParameters>]





DESCRIPTION

The Remove-AzureRmRecoveryServicesAsrFabric cmdlet removes the specified Azure Site Recovery fabric from the Recovery services vault.





PARAMETERS

-Confirm [<SwitchParameter>]

Specify if confirmation is required. Set the value of the confirm parameter to $false in order to skip confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-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>]

Force the command to run without providing an additional warning.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-InputObject <ASRFabric>

The input object to the cmdlet: The ASR fabric object corresponding to the fabric to be deleted.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet is executed without actually executing the cmdlet.



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

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRFabric







OUTPUTS

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob







NOTES









Example 1



PS C:\\> $currentJob = Remove-AzureRmRecoveryServicesAsrFabric -Fabric $Fabric



Starts the deletion of specified fabric and returns the ASR job used to track the operation.







RELATED LINKS

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

Get-AzureRmRecoveryServicesAsrFabric

New-AzureRmRecoveryServicesAsrFabric