Uploading High Resolution Photos using PowerShell for Office 365

When first trying to upload a high-res photo for user’s mailboxes, you’ll likely start with the manual for Set-UserPhoto and try to write some Powershell script like the below command: $user = 'john.doe@contoso.com' $userphoto = "C:\Temp\"+$user+".jpg" Set-UserPhoto -Identity $user -PictureData ([System.IO.File]::ReadAllBytes($userphoto)) -Confirm:$false (Documentation for Set-UserPhoto is here: http://technet.microsoft.com/en-us/library/jj218694.aspx) When trying to run this, however, one…

4

Mild-mannered reporter, or Superman?

This week I had a bit of a respite from Office 365 migrations, but it was time to put together a necessary report for the upcoming migrations. Will people think you have super-powers if you can produce a report on your Office 365 environment? Well, maybe not, but at least you can impress someone with a nice report…

0

You can count on me. (Or maybe not!)

This is a quick PowerShell tip. Are you used to working with really large number for enterprise work? Yeah, me too. I pretty much always need “-resultsize unlimited” whenever I write a command. Sometimes, however, you can run into just one problem – the problem of “one”. Here’s a sample of how to create the…

0

Exchange Online Migration Reporting

Getting requests for reporting while doing migrations is nothing new. While working with a customer, I wrote some Powershell scripts to automate making emailed reports. These looked great when I first passed them around that day to get feedback. I almost put my initial reports (with some very nicely formatted tables) into production, but I…

5