external help file | ms.assetid | online version | schema |
---|---|---|---|
Microsoft.Azure.Commands.RecoveryServicesRdfe.dll-Help.xml |
FD43AFDA-E37D-4B5E-8EB5-CC2CF1E36AFA |
2.0.0 |
Creates a Site Recovery services vault.
[!INCLUDE rdfe-banner]
New-AzureSiteRecoveryVault -Name <String> -Location <String> [-Profile <AzureSMProfile>] [<CommonParameters>]
The New-AzureSiteRecoveryVault cmdlet creates an Azure Site Recovery services vault.
PS C:\> New-AzureSiteRecoveryVault -Location "West US" -Name "ContosoVault"
Response
--------
Vault has been created
This command creates a vault named ContosoVault in the West US location.
Specifies the geographical location.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the name of the vault.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Type: AzureSMProfile
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).