< Back
Remove-AzureRmRecoveryServicesAsrServicesProvider
Post
NAME Remove-AzureRmRecoveryServicesAsrServicesProvider
SYNOPSIS
Deletes/unregister the specified Azure Site Recovery recovery services provider from the recovery services vault.
SYNTAX
Remove-AzureRmRecoveryServicesAsrServicesProvider [-Confirm] [-DefaultProfile <IAzureContextContainer>] [-Force] -InputObject
<ASRRecoveryServicesProvider> [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmRecoveryServicesAsrServicesProvider cmdlet removes the specified Azure Site Recovery recovery services provider from the 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 <ASRRecoveryServicesProvider>
The input object to the cmdlet: The ASR recovery services provider object corresponding to the ASR recovery services provider 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.ASRRecoveryServicesProvider
OUTPUTS
System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob,
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Example 1
PS C:\\> $currentJob = Remove-AzureRmRecoveryServicesAsrServicesProvider -ServicesProvider $ServicesProvider
Starts the deletion/unregistration of the specified Azure Site Recovery services provider and returns the ASR job used to track the operation.
RELATED LINKS
Online Version:
https://docs.microsoft.com/en-us/powers ... esprovider
Get-AzureRmRecoveryServicesAsrServicesProvider
Update-AzureRmRecoveryServicesAsrServicesProvider
SYNOPSIS
Deletes/unregister the specified Azure Site Recovery recovery services provider from the recovery services vault.
SYNTAX
Remove-AzureRmRecoveryServicesAsrServicesProvider [-Confirm] [-DefaultProfile <IAzureContextContainer>] [-Force] -InputObject
<ASRRecoveryServicesProvider> [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmRecoveryServicesAsrServicesProvider cmdlet removes the specified Azure Site Recovery recovery services provider from the 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 <ASRRecoveryServicesProvider>
The input object to the cmdlet: The ASR recovery services provider object corresponding to the ASR recovery services provider 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.ASRRecoveryServicesProvider
OUTPUTS
System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob,
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Example 1
PS C:\\> $currentJob = Remove-AzureRmRecoveryServicesAsrServicesProvider -ServicesProvider $ServicesProvider
Starts the deletion/unregistration of the specified Azure Site Recovery services provider and returns the ASR job used to track the operation.
RELATED LINKS
Online Version:
https://docs.microsoft.com/en-us/powers ... esprovider
Get-AzureRmRecoveryServicesAsrServicesProvider
Update-AzureRmRecoveryServicesAsrServicesProvider