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 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:
- Run the Get-VBOOrganization cmdlet. Specify the Name parameter value. Save the result to the $org variable.
- Run the Get-VBOLicensedUser cmdlet. Specify the Organization and Name parameters value. Save the result to the $licensedUser variable.
- Run the Remove-VBOLicensedUser cmdlet. Set the $licensedUser variable as the User parameter value.
Related Commands