Useful O365 Pro Plus

Useful little script that can help you see which license is applied to a pro plus user.

Get-MsolUser  | ? {$_.Licenses.ServiceStatus | ? {$_.ServicePlan.ServiceName -eq “OFFICESUBSCRIPTION” -and $_.ProvisioningStatus -eq “Success”}}