27 C
Dubai
Saturday, November 23, 2024

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@localhost

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
}

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles

3 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?