All in One Office 365 Powershell Connect

Sharing the all in one powershell functions that I use daily for o365 administration, it makes my work easy so want to share if others also want to utilize.Different o365 services have different connecting  uri & mechanisms, I covered these in one single script that you can load

5 Star
717 times
Add to favorites
Office 365
E-mail Twitter Digg Facebook
Sign in to ask a question

  • error when loading module
    4 Posts | Last post February 11, 2019
    • New-ExoPSSession : Processing data from remote server failed with the following error message: The request for the Windows Remote Shell with ShellId 0A82DBB9-EF8B-49A3-BC97-E6CA1398E398 failed because the shell was not found on the server. Possible 
      causes are: the specified ShellId is incorrect or the shell no longer exists on the server. Provide the correct ShellId or create a new shell and retry the operation. For more information, see the about_Remote_Troubleshooting Help topic.
      At C:\scripts\O365.ps1:36 char:16
    • Import-Module $((Get-ChildItem -Path $($env:LOCALAPPDATA+"\Apps\2.0\") -Filter CreateExoPSSession.ps1 -Recurse ).FullName | Select-Object -Last 1)
    • yes this has been used if you will download the script.
    • Now I updated the on screen code as well so that if some one copies & not download than also it works.