Reset-VBRDiscoveredComputer
Short Description
Reboots discovered computers.
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 Pipeline Input |
|---|---|---|---|---|---|
|
DiscoveredComputer |
Specifies the array of discovered computers. The cmdlet will reboot these computers.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
True (ByPropertyName) |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue. |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<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-VBRProtectionGroupReturns protection groups. cmdlet. Specify theNameparameter value. Save the result to the$groupvariable. - Run the
Get-VBRDiscoveredComputerReturns discovered computers. cmdlet. Set the$groupvariable as theProtectionGroupparameter value. Save the result to the$discoveredvariable. - Run the
Reset-VBRDiscoveredComputercmdlet. Set the$discoveredvariable as theDiscoveredComputerparameter value.
Related Commands
Get-VBRProtectionGet-VBRDiscoveredComputerReturns discovered computers.