Uninstall-VBRDiscoveredComputerComponents
Short Description
Uninstalls Veeam components from discovered computers.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Uninstall-VBRDiscoveredComputerComponents -DiscoveredComputer <VBRDiscoveredComputer[]> [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet uninstalls Veeam components, including Veeam Agent, from the specified discovered computers.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DiscoveredComputer |
Specifies the discovered computers from which you want to uninstall Veeam components.
Accepts the array of |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
RunAsync |
Defines that the cmdlet will run asynchronously. |
|
False |
Named |
True (ByPropertyName) |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
|
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
The cmdlet returns the VBRSession object that contains the uninstall session.
Examples
Uninstalling Veeam Components from Discovered Computers
This example shows how to uninstall Veeam components from discovered computers.
|
$computers = Get-VBRDiscoveredComputer Uninstall-VBRDiscoveredComputerComponents -DiscoveredComputer $computers |
Perform the following steps:
- Run the
Get-VBRDiscoveredComputerReturns discovered computers. cmdlet. Save the result to the$computersvariable. - Run the
Uninstall-VBRDiscoveredComputerComponentscmdlet. Set the$computersvariable as theDiscoveredComputerparameter value.
Related Commands
Get-VBRDiscoveredComputerReturns discovered computers.