< Back
New-AzureRmRecoveryServicesAsrFabric
Post
NAME New-AzureRmRecoveryServicesAsrFabric
SYNOPSIS
Creates an Azure Site Recovery Fabric.
SYNTAX
New-AzureRmRecoveryServicesAsrFabric -Azure [-Confirm] [-DefaultProfile <IAzureContextContainer>] -Location <String> -Name <String> [-WhatIf]
[<CommonParameters>]
New-AzureRmRecoveryServicesAsrFabric [-Confirm] [-DefaultProfile <IAzureContextContainer>] -Name <String> [-Type {HyperVSite}] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
The New-AzureRmRecoveryServicesAsrFabric cmdlet creates an Azure Site Recovery Fabric of the specified type.
PARAMETERS
-Azure [<SwitchParameter>]
Switch parameter indicates creation of azure fabric.
Required? true
Position? named
Default value False
Accept pipeline input? False
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
-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
-Location <String>
Specifies the Azure region corresponding to the Fabric object being created. The Azure Site Recovery fabric object represents a region. For
virtual machines being replicated between two Azure regions a primary fabric represents the primary Azure region and the recovery fabric .
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of the Azure Site Recovery Fabric.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Type <String>
Specifies the Azure Site Recovery Fabric Type.
Required? false
Position? named
Default value None
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
None
OUTPUTS
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob
NOTES
Example 1
PS C:\\> $currentJob = New-AzureRmRecoveryServicesAsrFabric -Name $FabricName
Starts the fabric creation with passed name and returns the ASR job used to track the fabric creation operation.
Example 2
PS C:\\> $currentJob = New-AzureRmRecoveryServicesAsrFabric -Azure -Name $fabricName -Location "eastus"
PS C:\\> Get-ASRJob -name $currentJob.id
Starts the azure fabric creation with passed name and returns the ASR job used to track the fabric creation operation.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... sasrfabric
Get-AzureRmRecoveryServicesAsrFabric
Remove-AzureRmRecoveryServicesAsrFabric
SYNOPSIS
Creates an Azure Site Recovery Fabric.
SYNTAX
New-AzureRmRecoveryServicesAsrFabric -Azure [-Confirm] [-DefaultProfile <IAzureContextContainer>] -Location <String> -Name <String> [-WhatIf]
[<CommonParameters>]
New-AzureRmRecoveryServicesAsrFabric [-Confirm] [-DefaultProfile <IAzureContextContainer>] -Name <String> [-Type {HyperVSite}] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
The New-AzureRmRecoveryServicesAsrFabric cmdlet creates an Azure Site Recovery Fabric of the specified type.
PARAMETERS
-Azure [<SwitchParameter>]
Switch parameter indicates creation of azure fabric.
Required? true
Position? named
Default value False
Accept pipeline input? False
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
-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
-Location <String>
Specifies the Azure region corresponding to the Fabric object being created. The Azure Site Recovery fabric object represents a region. For
virtual machines being replicated between two Azure regions a primary fabric represents the primary Azure region and the recovery fabric .
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of the Azure Site Recovery Fabric.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Type <String>
Specifies the Azure Site Recovery Fabric Type.
Required? false
Position? named
Default value None
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
None
OUTPUTS
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob
NOTES
Example 1
PS C:\\> $currentJob = New-AzureRmRecoveryServicesAsrFabric -Name $FabricName
Starts the fabric creation with passed name and returns the ASR job used to track the fabric creation operation.
Example 2
PS C:\\> $currentJob = New-AzureRmRecoveryServicesAsrFabric -Azure -Name $fabricName -Location "eastus"
PS C:\\> Get-ASRJob -name $currentJob.id
Starts the azure fabric creation with passed name and returns the ASR job used to track the fabric creation operation.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... sasrfabric
Get-AzureRmRecoveryServicesAsrFabric
Remove-AzureRmRecoveryServicesAsrFabric