iOS AND ANDROID
Topics:Choose a tag
Found the need for this today as we’re switching over to Office 365 and I had to use the power shell to create a Shared Mailbox that multiple people can access. Step 1 was connecting the powershell to Office 365 as show below.
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Note The AllowRedirection parameter enables cloud-based organizations in datacenters all over the world to connect Windows PowerShell to the cloud-based service by using the same URL.
A progress indicator appears that shows the importing of commands used in the cloud-based service into the client-side session of your local computer. When this process is complete, you can run these commands.
Remove-PSSession <session variable>
Important If you close the Windows PowerShell window without disconnecting from the server-side session, your connection will remain open for 15 minutes. Your account can only have three connections to the server-side session at one time.”
Original Source here: http://help.outlook.com/en-us/140/cc952755.aspx