< Back

New-AzureSiteRecoveryRecoveryPlan

Wed Jan 30, 2019 5:48 pm

NAME New-AzureSiteRecoveryRecoveryPlan



SYNOPSIS

Adds a Recovery Plan in to a current Azure Site Recovery Vault





SYNTAX

New-AzureSiteRecoveryRecoveryPlan -File <string> [-WaitForCompletion] [<CommonParameters>]





DESCRIPTION

Adds a Recovery Plan in to a current Azure Site Recovery Vault. A recovery plan gathers virtual machines in a group for the purposes of failover and

recovery. Use Get-AzureSiteRecoveryRecoveryPlanFile commandlet on an existing Recovery Plan to view the RecoveryPlan file and know its format.





PARAMETERS

-File <string>

Recovery Plan file



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WaitForCompletion [<SwitchParameter>]

Waits till the operation completes



Required? false

Position? named

Default value

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









NOTES







Keywords: azure, azuresm, servicemanagement, management, service, site, recovery







-------------------------- EXAMPLE 1 --------------------------



C:\\PS>New-AzureSiteRecoveryRecoveryPlan -File C:\\Users\\contoso\\Desktop\\RP.xml



ID : 189283c7-7fd9-4010-8bf1-d2a2e4a46df4

ClientRequestId : 6c56d96e-dfdd-4898-81cf-8562f51a8129-2014-34-06 15:34:23Z-P

State : NotStarted

StateDescription : NotStarted

StartTime :

EndTime :

AllowedActions : {}

Name :

Tasks : {}

Errors : {}



Description



-----------













RELATED LINKS