Categories
Tech

Close Your PowerShell Sessions! – Office 365

If you have ever received the error message below or a similar one then you are not closing your PowerShell sessions properly (or at all!).

[serverName] Connecting to remote server failed with the following error message : The WS-Management service cannot process the request. This user is allowed a maximum number of 3 concurrent shells, which has been exceeded. Close existing shells or raise the quota for this user. For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo          : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException + FullyQualifiedErrorId : PSSessionOpenFailed

Categories
Tech

Make Your Self Owner of All Distribution Groups – Office 365

There are a number of reasons why you may want to make your self an owner of all distribution groups in Office 365. One is that you are an IT Administrator of the organisation in question and wish to moderate the distribution groups in the Exchange Online GUI/PowerShell without running in to permission problems.