< Back

Remove-AzureRmSiteRecoveryServer

Thu Apr 04, 2019 5:40 am

NAME Remove-AzureRmSiteRecoveryServer



SYNOPSIS

Removes a Site Recovery server from the current vault.





SYNTAX

Remove-AzureRmSiteRecoveryServer [-DefaultProfile <IAzureContextContainer>] [-Force] -Server <ASRServer> [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmSiteRecoveryServer cmdlet unregisters an Azure Site Recovery server which removes it 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



-Server <ASRServer>

Specifies the Site Recovery server 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

ASRServer

Parameter 'Server' accepts value of type 'ASRServer' from the pipeline





OUTPUTS

System.Collections.Generic.IEnumerable`1[Microsoft.Azure.Commands.SiteRecovery.ASRServer]







NOTES











RELATED LINKS

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

Get-AzureRmSiteRecoveryServer

Update-AzureRmSiteRecoveryServer