All in One Office 365 Powershell Connect

As Technet Gallery is retiring so moving the code to Git Hub. (click below link, creating first link to my blog for those who are unfamiliar with github) the all in on

5 Star
Add to favorites
Office 365
E-mail Twitter Digg Facebook
  • 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.