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

Reset-VBRDiscoveredComputer

Short Description

Reboots discovered computers.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

Reset-VBRDiscoveredComputer -DiscoveredComputer <VBRDiscoveredComputer[]> [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

This cmdlet reboots selected discovered computers.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Discovered
Computer

Specifies the array of discovered computers. The cmdlet will reboot these computers.

Accepts VBRDiscoveredComputer[] type.

True

Named

True (ByValue,
ByProperty
Name)

False

WhatIf

Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

False

Named

False

False

Confirm

Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

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.

Return Type

VBRSession

Example

This example shows how to reboot discovered computers of a protection group.

You will need to perform the following steps:

  1. Run Get-VBRProtectionGroup to get the protection group. Save the result to the $group variable.
  2. Run Get-VBRDiscoveredComputer with the $group variable to get the discovered computers of the protection group. Save the result to the $discovered variable.
  3. Run Reset-VBRDiscoveredComputer with the $discovered variable.

$group = Get-VBRProtectionGroup -Name "East Support"

$discovered = Get-VBRDiscoveredComputer -ProtectionGroup $group

Reset-VBRDiscoveredComputer -DiscoveredComputer $discovered

Related Commands

Get-VBRProtection

Get-VBRDiscoveredComputer