Bulk add O365 licenses with PowerShell

The other day I had a customer that had purchased 400 EOP ATP licenses, and I need to make sure that all those users that had an E3 license also had an ATP license assigned.  After a bit of digging around, I found the correct set of PowerShell commands.  Firstly, make sure that you have your PowerShell console open and you are connected to the O365 tenant:

A very simple set of PowerShell commands that results in a hell of a lot of saved time!!