office 365 Powershell
<p>The HR department has 5000 unliscenced users. I want to remove them all. 
I'm confused between two powershell commands and want to use the fastest one:</p>

<pre><code>## 1
Get-MsolUser -UnlicensedUsersOnly | Remove-MsolUser -force
## 2
Get-MsolUser -All | where {$_.department -eq "HR"} | Remove-MsolUser -force
</code></pre>