Simple UI based Office 365 License Management powershell script

Simple UI based Office 365 License Management powershell script for custom list of users, script is based on the new AzureAD V2 module.

 
 
 
 
 
(0)
1,934 times
Add to favorites
Office 365
12/19/2017
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Filtering question
    3 Posts | Last post December 19, 2017
    • I'm attempting to filter as listed in your example, however the filter below doesn't seem to work for me, should we be able to filter on the licenses or enabled plans columns?
      
      $_.displayname -like 'smith*' -AND $_.Licenses -contains 'ENTERPRISEPACK'
      
      Thank you
      
    • Seems to be related to some of our users breaking the filter, we were able to workaround in the meantime. 
      
      Also, there's a typo on line 1227 for userprincipalname that breaks the export.
    • Thank you for calling that out Brian. I have corrected the script and updated here. With the filter, the Licenses property is of String type for easy export, thus '-like' operator needs to be used instead of '-contains'.