New-VBRAzureInstantRecoverySwitchingOptions
Short Description
Defines the switchover options.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRAzureInstantRecoverySwitchingOptions -SwitchingType <VBRAzureInstantRecoverySwitchingType> [-ScheduleTime <DateTime>] [-VerifyVMBoot] [-PowerOnVm] [<CommonParameters>] |
Detailed Description
This cmdlet defines the switchover options. Switchover can be performed automatically, manually or at the specified date and time.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
PowerOnVm |
Defines that the cmdlet powers on the recovered workload after the switchover. Default: True. |
|
False |
Named |
False |
|
ScheduleTime |
For the Specifies the date and time when you want to perform the switchover. |
|
False |
Named |
False |
|
SwitchingType |
Specifies the type of switchover:
|
|
True |
Named |
True (ByPropertyName, ByValue) |
|
VerifyVMBoot |
Defines that Veeam Backup & Replication checks if the recovered workload boots successfully. Default: False. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRAzureInstantRecoverySwitchingOptions
Examples
Example 1. Creating Switchover Options for Manual Switchover
This command shows how to create switchover options. The switchover will be performed manually, after the switchover the VM will be powered on.
|
$switchingOptions = New-VBRAzureInstantRecoverySwitchingOptions -SwitchingType Manual -PowerOnVm |