Remove-VBOOrganization

Short Description

Removes Microsoft organizations from to the Veeam Backup for Microsoft 365 infrastructure.

Remove-VBOOrganization Important

Before removing an organization, make sure all jobs that are configured for that organization are set to the Disabled state.

Syntax

Remove-VBOOrganization -Organization <VBOOrganization> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet removes Microsoft organizations from the Veeam Backup for Microsoft 365 infrastructure.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Organization

Specifies an organization that you want to remove.

Accepts the VBOOrganization object.

To get this object, run the Get-VBOOrganization cmdlet.

True

Named

True (ByValue)

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

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

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

None.

Examples

Remove-VBOOrganizationExample 1. Removing Microsoft Organization

This example shows how to remove the Dev Community organization from the Veeam Backup for Microsoft 365 infrastructure.

$org = Get-VBOOrganization -Name "Dev Community"

Remove-VBOOrganization -Organization $org

Perform the following steps:

  1. Run the Get-VBOOrganization cmdlet. Save the result to the $org variable.
  2. Run the Remove-VBOOrganization cmdlet. Set the $org variable as the Organization parameter value.

Related Commands

Get-VBOOrganization