Remove-VBOLicensedUser
Short Description
Removes licenses from Veeam Backup for Microsoft 365 users.
Important |
|
You must remove user data from the backup repository before removing a license from Veeam Backup for Microsoft 365 users. Run the |
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
To get this object, run the |
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
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:
- Run the
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$orgvariable. - Run the
Get-VBOLicensedUserReturns licensed Veeam Backup for Microsoft 365 users. cmdlet. Specify theOrganizationandNameparameters value. Save the result to the$licensedUservariable. - Run the
Remove-VBOLicensedUsercmdlet. Set the$licensedUservariable as theUserparameter value.
Related Commands
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure.Get-VBOLicensedUserReturns licensed Veeam Backup for Microsoft 365 users.