Powershell Script to Remove License for Office 365 Users (Part-2) | #powershell #office365

preview_player
Показать описание
Hi Friends, Welcome to My Channel.In this video we will get to know Powershell Script to Remove License for Office 365 Users (Part-2).

We will also get to know how to create a command and edit the command as per our requirement.
#powershell
#license
#office365
#microsoft365
#script
#videos
#windows
#windows11
#powershellscripting
#o365
#removal
=====================================

Powershell Script to Remove License for Office 365 Users (Part-2)

Remove Bulk Licenses to Office 365 Users

######## Remove License to Bulk Users ##########

# Method 2

Import-Module MSOnline
Connect-MsolService

Get-MsolAccountSku

#To Verify the User location details:

Get-MsolUser -All | Select DisplayName,UsageLocation

# Remove license to respective Location users using below command:

Get-MsolUser -All -UsageLocation ‘US’ | Set-MsolUserLicense -RemoveLicenses “techreview14:O365_BUSINESS_PREMIUM”

--------------------------------------------------------------------------

Powershell Script to Remove License for Office 365 Users (Part-2)

For any other Questions/Queries/Doubt/Issue or more information please create a FREE Service Request from the Admin Portal.

Once created a Microsoft 365 support Representative should reach you within 15 minutes.
Рекомендации по теме