Export Office 365 Users Without Profile Photo to CSV file

This script find and export Office 365 Users without profile picture to CSV file. We can extract this report using Exchange Online powershell cmdlets Get-Mailbox and Get-Userphoto.

 
 
 
 
 
(0)
786 times
Add to favorites
Office 365
5/16/2018
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • easier solution
    1 Posts | Last post June 13, 2019
    • $mailbox = Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize Unlimited |where-object {$_.haspicture -ne $True}
      
      $mailbox.count 
      
      $mailbox | select Displayname, userprincipalname | export-csv C:\junk\userswithNOpics.csv
      
  • Specific Group Members
    1 Posts | Last post January 30, 2019
    • Hello,
      
      Could you please let me know how do run the script against the members of a specific distribution group and its sub-members? Thank you.
      
      Regards,
      Pooriya