Remove-VBOLicensedUser

Short Description

Removes licenses from Veeam Backup for Microsoft 365 users.

Remove-VBOLicensedUser Important

You must remove user data from the backup repository before removing a license from Veeam Backup for Microsoft 365 users. Run the Remove-VBOEntityData cmdlet to remove the user data.

Syntax

Remove-VBOLicensedUser [-User <VBOLicensedUser>]  [<CommonParameters>]

Detailed Description

This cmdlet removes licenses from Veeam Backup for Microsoft 365 users.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

User

Specifies a licensed user. The cmdlet will remove license from this user.

Accepts the VBOLicensedUser object.

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

True

0

True (ByValue)

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

Example

Removing Licensed Users from Veeam Backup for Microsoft 365 Server

This example shows how to remove a license from the John Smith licensed user from the Columbus organization.

$org = Get-VBOOrganization -Name "Columbus"

$licensedUser = Get-VBOLicensedUser -Organization $org -Name "John Smith"

Remove-VBOLicensedUser -User $licensedUser

Perform the following steps:

  1. Run the Get-VBOOrganization cmdlet. Specify the Name parameter value. Save the result to the $org variable.
  2. Run the Get-VBOLicensedUser cmdlet. Specify the Organization and Name parameters value. Save the result to the $licensedUser variable.
  3. Run the Remove-VBOLicensedUser cmdlet. Set the $licensedUser variable as the User parameter value.

Related Commands

Page updated 5/2/2024

Page content applies to build 8.0.4.29