New-AzureRmSiteRecoverySite

Creates a Site Recovery site.

Syntax

New-AzureRmSiteRecoverySite
   -Name <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The New-AzureRmSiteRecoverySite cmdlet creates an Azure Site Recovery site in the current vault.

Required Parameters

-Name

Specifies the name of the site.

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

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False