I am trying to setup a shared mailbox via Windows PowerShell for our Exchange account.
This is how far I have gotten.
1. $LiveCred = Get-Credential
2. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/
-Credential $LiveCred -Authentication Basic -AllowRedirection
3. Import-PSSession $Session
Now when I try to enter the command:
New-Mailbox -Name "Shared Mailbox" -Alias Shared -Shared
I receive an error message stating
"The term 'New-Mailbox' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:12
+ New-Mailbox <<<< -Name "Estimators Calendar" -Alias estimators -Public
+ CategoryInfo : ObjectNotFound: (New-Mailbox:String) , CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException"
Any pointers would be greatly appreciated.