< Back
Remove-AzureRmRecoveryServicesAsrvCenter
Post
NAME Remove-AzureRmRecoveryServicesAsrvCenter
SYNOPSIS
Removes the vCenter server from the ASR fabric and stops discovery of virtual machines from the vCenter server.
SYNTAX
Remove-AzureRmRecoveryServicesAsrvCenter [-Confirm] [-DefaultProfile <IAzureContextContainer>] -Fabric <ASRFabric> -Name <String> [-WhatIf]
[<CommonParameters>]
Remove-AzureRmRecoveryServicesAsrvCenter [-Confirm] [-DefaultProfile <IAzureContextContainer>] -InputObject <ASRvCenter> [-WhatIf]
[<CommonParameters>]
Remove-AzureRmRecoveryServicesAsrvCenter [-Confirm] [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmRecoveryServicesAsrvCenter cmdlet removes the vCenter server from the ASR fabric and stops discovery of virtual machines from
the vCenter server.
PARAMETERS
-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
-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
-Fabric <ASRFabric>
ASR fabric object representing the Configuration Server.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-InputObject <ASRvCenter>
ASR vCenter object representing the vCenter server to be removed.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Name <String>
Name of the vCenter Server.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceId <String>
Specifies the resourceId of vCenter to remove.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRvCenter
OUTPUTS
System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob,
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery, Version=0.1.1.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Example 1
PS C:\\> Remove-AzureRmRecoveryServicesAsrvCenterServer -InputObject $vCenter
Removes the vCenter server from the ASR fabric.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... asrvcenter
SYNOPSIS
Removes the vCenter server from the ASR fabric and stops discovery of virtual machines from the vCenter server.
SYNTAX
Remove-AzureRmRecoveryServicesAsrvCenter [-Confirm] [-DefaultProfile <IAzureContextContainer>] -Fabric <ASRFabric> -Name <String> [-WhatIf]
[<CommonParameters>]
Remove-AzureRmRecoveryServicesAsrvCenter [-Confirm] [-DefaultProfile <IAzureContextContainer>] -InputObject <ASRvCenter> [-WhatIf]
[<CommonParameters>]
Remove-AzureRmRecoveryServicesAsrvCenter [-Confirm] [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmRecoveryServicesAsrvCenter cmdlet removes the vCenter server from the ASR fabric and stops discovery of virtual machines from
the vCenter server.
PARAMETERS
-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
-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
-Fabric <ASRFabric>
ASR fabric object representing the Configuration Server.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-InputObject <ASRvCenter>
ASR vCenter object representing the vCenter server to be removed.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Name <String>
Name of the vCenter Server.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceId <String>
Specifies the resourceId of vCenter to remove.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRvCenter
OUTPUTS
System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob,
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery, Version=0.1.1.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Example 1
PS C:\\> Remove-AzureRmRecoveryServicesAsrvCenterServer -InputObject $vCenter
Removes the vCenter server from the ASR fabric.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... asrvcenter