Remove-VBRUnstructuredServer

Short Description

Removes unstructured data sources from the inventory.

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Remove-VBRUnstructuredServer -Server <VBRUnstructuredServer[]> [-WhatIf]

[-Confirm] [<CommonParameters>]

Detailed Description

This cmdlet removes unstructured data sources from the inventory.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Server

Specifies an array of unstructured data sources. The cmdlet will remove these unstructured data sources from the inventory.

Accepts the VBRUnstructuredServer[] object. To get this object, run the Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory. cmdlet.

VBRUnstructuredServer[]

True

Named

True (ByPropertyName, ByValue)

Confirm

Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue.

Note: Microsoft PowerShell enables the Confirm parameter for this cmdlet by default. To disable this option, set the parameter value to $false. That is, Confirm:$false.

SwitchParameter

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.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Remove-VBRUnstructuredServerExample 1. Removing all Unstructured Data Sources

This example shows how to remove all unstructured data sources from the inventory.

$server = Get-VBRUnstructuredServer

Remove-VBRUnstructuredServer -Server $server

Perform the following steps:

  1. Run the Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory. cmdlet. Save the result to the $server variable.
  2. Run the Remove-VBRUnstructuredServer cmdlet. Set the $server variable as the Server parameter value.

Remove-VBRUnstructuredServerExample 2. Removing Certain Unstructured Data Sources from Inventory

This example shows how to remove the \\WinSRV2049\Documents file share from the inventory. The cmdlet will display a prompt that asks if the user is sure that he wants to continue.

$fileshare = Get-VBRUnstructuredServer -Name "\\WinSRV2049\Documents"

Remove-VBRUnstructuredServer -Server $fileshare -Confirm

Perform the following steps:

  1. Run the Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory. cmdlet. Specify the Name parameter value. Save the result to the $fileshare variable.
  2. Run the Remove-VBRUnstructuredServer cmdlet. Set the $fileshare variable as the Server parameter value. Provide the Confirm parameter.

Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory.

Page updated 2026-08-19

Page content applies to build 13.1.1.18