New-​Azure​Rm​Recovery​Services​Asr​Fabric

Creates an Azure Site Recovery Fabric.

Syntax

New-AzureRmRecoveryServicesAsrFabric
   -Name <String>
   [-Type <String>]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Description

The New-AzureRmRecoveryServicesAsrFabric cmdlet creates an Azure Site Recovery Fabric of the specified type.

Examples

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.

Required Parameters

-Name

Specifies the name of the Azure Site Recovery Fabric.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Type

Specifies the Azure Site Recovery Fabric Type.

Type:String
Parameter Sets:HyperVSite
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob