Remove-VBRUnstructuredServer

Short Description

Removes unstructured data sources from the inventory.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Applies to

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

Syntax

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

Detailed Description

This cmdlet removes unstructured data sources from the inventory.

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-VBRUnstructuredServer cmdlet.

True

Named

True (ByValue, ByPropertyName)

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

<CommonParameters>

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

Output Object

None.

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-VBRUnstructuredServer 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-VBRUnstructuredServer 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.

Related Commands

Get-VBRUnstructuredServer

Page updated 4/8/2024

Page content applies to build 12.1.1.56