Reset-VBRDiscoveredComputer
Short Description
Reboots discovered computers.
Applies to
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Reset-VBRDiscoveredComputer -DiscoveredComputer <VBRDiscoveredComputer[]> [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet reboots selected discovered computers.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
DiscoveredComputer | Specifies the array of discovered computers. The cmdlet will reboot these computers. | Accepts the VBRDiscoveredComputer[] object. To get this object, run the Get-VBRDiscoveredComputer cmdlet. | True | Named | True (ByValue, |
WhatIf | Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue. | SwitchParameter | False | Named | False |
RunAsync | Defines that the command returns immediately without waiting for the task to complete. | SwitchParameter | False | Named | True (ByPropertyName) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Rebooting Discovered Computers of Protection Group
This example shows how to reboot discovered computers of a protection group.
$group = Get-VBRProtectionGroup -Name "East Support" $discovered = Get-VBRDiscoveredComputer -ProtectionGroup $group Reset-VBRDiscoveredComputer -DiscoveredComputer $discovered |
Perform the following steps:
- Run the Get-VBRProtectionGroup cmdlet. Specify the Name parameter value. Save the result to the $group variable.
- Run the Get-VBRDiscoveredComputer cmdlet. Set the $group variable as the ProtectionGroup parameter value. Save the result to the $discovered variable.
- Run the Reset-VBRDiscoveredComputer cmdlet. Set the $discovered variable as the DiscoveredComputer parameter value.
Related Commands