Forum Discussion
PCHealer
Jan 11, 2022Brass Contributor
How to run Exchage PowerShell - Exchange Online
Simple question I am working at a company that uses Exchange online ( they call it Cloud Based - O365 which is the same thing I think). I am logged into https://admin.exchange.microsoft.com/#/set...
Kevin_Morgan
Jan 12, 2022Iron Contributor
- Start the Windows PowerShell console with "Run as administrator" privilege.
- Run the following command to install the Exchange Online Management powershell module. This is one time work.
Install-Module ExchangeOnlineManagement
- Once you have installed the module successfully, you can run the following command to https://docs.microsoft.com/en-us/powershell/module/exchange/connect-exchangeonline service.
Connect-ExchangeOnline
- Now, you can run the required Exchange commands to work with your Exchange service.
Get-Mailbox # List mailboxes
Get-EXOMailbox # List mailboxes using V2 module script. Provide faster output.
PCHealer
Jan 12, 2022Brass Contributor
Kevin_MorganHi Kevin thanks but let me stop you right after "Start the Windows " I am running MacOS
- PCHealerJan 12, 2022Brass Contributoralso is there a way I can create a test envioment ? I currently personally use Exchange Online (Plan 1) can I use that?
- Kevin_MorganJan 12, 2022Iron Contributor
Are you asking for Exchange Online (Microsoft 365) Test environment ?. If so, follow the below steps.
- Go to the https://cdx.transform.microsoft.com/ (CDX) site.
- Navigate to My Environments.
- Under My Tenants, on the right-side, click Create Tenant button.
- Choose the required Tenant type, location, content type and proceed to create a new demo or trial tenant.