New-VBRAzureInstantRecoverySwitchingOptions
Short Description
Defines the switchover options.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRAzureInstantRecoverySwitchingOptions -SwitchingType {Auto | Manual | Scheduled} [-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 |
---|---|---|---|---|---|
SwitchingType | Specifies the type of switchover:
To start the switchover manually, use the Switch-VBRAzureInstantRecoveryMigration cmdlet.
| VBRAzureInstantRecoverySwitchingType | True | Named | True |
ScheduleTime | For the SwitchingType parameter set to Scheduled. Specifies the date and time when you want to perform the switchover. | DateTime | False | Named | False |
VerifyVMBoot | Defines that Veeam Backup & Replication checks if the recovered workload boots successfully. Default: False. | SwitchParameter | False | Named | False |
PowerOnVm | Defines that the cmdlet powers on the recovered workload after the switchover. Default: True. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRAzureInstantRecoverySwitchingOptions
Examples
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 |