Exchange Powershell command to find all groups in your Microsoft Online Exchange 365.. !!!

click start -> start typing powershell ->


and run the Powershell Microsoft Online services module as administrator




Run the command "Get-MsolGroup --all > c:\msolgroup2.txt"

Breaking the code :

Get-msolgroup -all will get all the data to your screen and > will redirect it to a file.txt.

Do share with us know if you have a better way of getting this done.


Note : Please try the command at your own risk, the owner of this blog takes no responsibility for anything that may go wrong on your exchange server.

No comments:

Post a Comment