This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-VBRFailoverPlanObject

Short Description

Modifies the VBRFailoverPlanObject object.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus

Syntax

Set-VBRFailoverPlanObject -Object <VBRFailoverPlanObject> [-BootOrder <int>] [-BootDelay <int>] [<CommonParameters>]

Related Commands

None

Return Type

VBRFailoverPlanObject

Detailed Description

This cmdlet modifies the VBRFailoverPlanObject object that was created earlier. To modify settings, you need to enter the corresponding parameters with new values. The parameters that you omit will remain unchanged.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Object

Specifies the VM you want modify.

Accepts VBRFailoverPlanObject.

True

Named

True (by Value
FromPipeline,
ValueFromPipeline
ByPropertyName)

True

BootOrder

Specifies the new value for the order number by which the VM will boot.

False

Named

False

False

BootDelay

Specifies the new value for the delay time for the VM.

The delay time is set in seconds.

If ommited, the delay time will be set to 60 sec by default.

If you set boot delay to '0' to a number of VMs, these VMs will start simultaneously.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

This command sets a new boot delay value for the Microsoft Exchange server that was earlier assigned to the '$MSExchange01' variable.

  • The boot delay is set to 120 sec.
  • The -BootOrder parameter is omitted to leave the original value unchanged.
  • The '$MSExchange01' variable is piped down.

PS C:\PS> $MSExchange01 | Set-VBRFailoverPlanObject -BootDelay 120

Example 2

This command sets a new boot delay value for the Microsoft Exchange server that was earlier assigned to the  '$MSExchange01' variable.

  • The boot delay is set to 120 sec.
  • The -BootOrder parameter is omitted to leave the original value unchanged.

PS C:\PS> $MSExchange01 = Set-VBRFailoverPlanObject -Object $MSExchange01 -BootDelay 120