Remove-VBOLicensedUser
Short Description
Removes licenses from Veeam Backup for Microsoft Office 365 users.
Important! |
You must remove user data from the backup repository before removing a license from Veeam Backup for Microsoft Office 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 Office 365 users.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
User | Specifies a licensed user. The cmdlet will remove license from this user. | True | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Example
This example shows how to remove a license from the JSmith@domain.onmicrosoft.com licensed user from Columbus organization:
- Run the Get-VBOOrganization cmdlet. Set Columbus as the Name parameter value. Save the result to the $org variable.
- Run the Get-VBOLicensedUser cmdlet. Set the $org variable as the Organization parameter value. Set JSmith@domain.onmicrosoft.com as the Name parameter value. Save the result to the $licensedUser variable.
- Run the Remove-VBOLicensedUser cmdlet. Set the $licensedUser variable as the User parameter value.
$org = Get-VBOOrganization -Name "Columbus" $licensedUser = Get-VBOLicensedUser -Organization $org -Name "JSmith@domain.onmicrosoft.com" Remove-VBOLicensedUser -User $licensedUser |
Related Commands