PS: Script license assigning for Office 365

Powershell

Wanted to share a script for assigning Licenses to Office 365 Users based on Security Groups in Your local Active Directory.

 

 

———————————————————————-

You will find all the Licenses With this PS Command:

Get-MsolAccountSku | Where-Object {$_.SkuPartNumber -eq “ENTERPRISEPACK”} |  ForEach-Object {$_.ServiceStatus}

Example Output:

ServicePlan
———–
YAMMER_ENTERPRISE
RMS_S_ENTERPRISE
OFFICESUBSCRIPTION
MCOSTANDARD
SHAREPOINTWAC
SHAREPOINTENTERPRISE
EXCHANGE_S_ENTERPRISE

 

Leave a Comment