Skip to content

Latest commit

 

History

History
97 lines (70 loc) · 1.99 KB

New-AzureSiteRecoveryVault.md

File metadata and controls

97 lines (70 loc) · 1.99 KB
external help file ms.assetid online version schema
Microsoft.Azure.Commands.RecoveryServicesRdfe.dll-Help.xml
FD43AFDA-E37D-4B5E-8EB5-CC2CF1E36AFA
2.0.0

New-AzureSiteRecoveryVault

SYNOPSIS

Creates a Site Recovery services vault.

[!INCLUDE rdfe-banner]

SYNTAX

New-AzureSiteRecoveryVault -Name <String> -Location <String> [-Profile <AzureSMProfile>] [<CommonParameters>]

DESCRIPTION

The New-AzureSiteRecoveryVault cmdlet creates an Azure Site Recovery services vault.

EXAMPLES

Example 1: Create a 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.

PARAMETERS

-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

-Name

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

-Profile

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

CommonParameters

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).

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Get-AzureSiteRecoveryVault