Last active
August 22, 2016 01:53
-
-
Save mattmcnabb/78775a6f3bd7ec1e9fb3d294c5b9974f to your computer and use it in GitHub Desktop.
Blog_Office-365-Licensing_3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$User = Get-MsolUser -UserPrincipalName ronald.reagan@whitehouse.gov | |
$User.Licenses | | |
Select-Object -Property AccountSkuId, | |
@{ | |
n='ServicePlans' | |
e={ ($_.ServiceStatus | Where-Object ProvisioningStatus -eq 'success').ServicePlan.ServiceName } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment