Removing Unwanted or Over Provisioned Veeam Licenses

Removing unwanted Veeam License using Veeam Powershell module.

Remove specific users. make sure it works properly before running the script. Please note that as per veeam if the user has a content allocated it will not get removed. test more before running it.

Make sure you have complete knowledge of the subject before using it. In our case user assigned licensed to all without having enough licenses so we had to run this to remove over-provisioned licenses.

Removing Single user –


$b = Get-VBOLicensedUser -Organization $org -Name username@azure365pro.com

Remove-VBOLicensedUser -User $b

Removing all user licenses –


$org = Get-VBOOrganization

$all = Get-VBOLicensedUser -Organization $org

foreach ($a in $all)
{
$b = Get-VBOLicensedUser -Organization $org -Name $a.username
Remove-VBOLicensedUser -User $b
}

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Azure365pro.com. Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

Embed Power BI content with Service Principal

You can embed power BI into any web-based solution you want. where you use an …

One comment

  1. Thank you for the detailed explanation.

Leave a Reply

Your email address will not be published.