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 | Accept |
Discovered | Specifies the array of discovered computers. The cmdlet will reboot these computers. Accepts VBRDiscoveredComputer[] type. | True | Named | True (ByValue, | 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
Example
This example shows how to reboot discovered computers of a protection group.
You will need to perform the following steps:
- Run Get-VBRProtectionGroup to get the protection group. Save the result to the $group variable.
- Run Get-VBRDiscoveredComputer with the $group variable to get the discovered computers of the protection group. Save the result to the $discovered variable.
- Run Reset-VBRDiscoveredComputer with the $discovered variable.
$group = Get-VBRProtectionGroup -Name "East Support" $discovered = Get-VBRDiscoveredComputer -ProtectionGroup $group Reset-VBRDiscoveredComputer -DiscoveredComputer $discovered |
Related Commands