MSOnlineExtended Powershell Module

Something weird happened to me earlier. I was working on my O365 tenant with Powershell, and couldn’t remember the exact verbiage of a cmdlet that I needed. So, I did what any good sys admin would do; consulted the help! After clearing my Powershell console of many, angry looking red and yellow words (Powershell didn’t seem to be happy about me guessing at cmdlets), I ran “get-command *msol*”. Much to my surprise, I saw that many of the cmdlets were duplicated in the output:
What gives? Well, if you take a look at the column furthest to the right, you will see that there are two different Powershell modules being called; msonline and msonlineExtended. But why are there two modules? And what is the difference? I can’t find any explanation for this mystery module. It seems there are other people who are just as confused as me:

 

Do YOU know the purpose of the MSOnlineExtended module? If so, please leave a comment!
One response... add one

This reveals that the MSOnline module has a few more cmdlets and that the syntax for the others is exactly the same. If there are any differences, they are architectural.

$R = Get-Command -Module MSOnline
$E = Get-Command -Module MSOnlineExtended
Compare-Object -ReferenceObject ($R | Select-Object -Exp Definition) -Diff
erenceObject ($E | Select-Object -Exp Definition) | fl *

Leave a Reply