< Back

Remove-AzureRmSiteRecoverySite

Thu Apr 04, 2019 5:40 am

NAME Remove-AzureRmSiteRecoverySite



SYNOPSIS

Removes a Site Recovery site from the current vault.





SYNTAX

Remove-AzureRmSiteRecoverySite [-DefaultProfile <IAzureContextContainer>] [-Force] -Site <ASRSite> [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmSiteRecoverySite cmdlet deletes an Azure Site Recovery site from the current vault.





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



-Site <ASRSite>

Specifies the Site Recovery site object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

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

ASRSite

Parameter 'Site' accepts value of type 'ASRSite' from the pipeline





OUTPUTS



NOTES











RELATED LINKS

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

Get-AzureRmSiteRecoverySite

New-AzureRmSiteRecoverySite