Module Exchange in PowerShell
Name: Module Exchange
Description: Module Exchange allows you to configure your exchange online setting by using the command line. Usually, PowerShell is used to exchange online. To avail this opportunity, you have to follow three steps. First, you have to enter the credentials of Office 365. Second, you have to provide a connection setting. In the end, you have to import the Exchange Online cmdlets into your PC.
Operating System: Windows
Application Category: Tools
User Review( votes)
By using this, the admin will be able to retrieve data, remove data, and can do updates in existing data. Exchange Online PowerShell V2 module is used as a module to make admin capable of brings changes in Office 365.
Module Exchange How dose it work?
After the completion of the third step, check the progress of the exchange online cmdlets properties by checking the progress bar. There will be two conditions. Before getting started you may need PowerShell for you device.
- If you found no errors, then you are connected successfully.
- If there are errors, there may be following conditions such as follow
- You may enter the incorrect password; you have to re-enter the password or repeat the third step.
- To prevent yourself from denial-of-service (DoS) use remote PowerShell.
- To connect your account with the Exchange online you must have enabled the remote PowerShell for your use.
Method to Download & install the Module:
- To download the module, go to the PowerShell Gallery https://www.powershellgallery.com/packages/ExchangeOnlineManagement/0.3582.0
- Windows Remote Management (WinRM) enables basic authentication. To ensure the authentication you have to run the following commands in the Command Prompt. “winrm get winrm/config/client/auth”.
- If the request is not true. Change the client configuration and try it again.
In order to install the EXO V2 module on your systems, you have to follow the following steps.
- Open the Command Prompt and run as Administrator.
- Login to PowerShell.
- To install PowerShell, get module first time, you have to write the command “Install -module PowerShellGet -Force.”
- Now, you need to configure the scripts that you downloaded from the internet while installing the PowerShell. Write the commands “Set-ExecutionPolicy RemoteSigned”.
- Close and re-open the PowerShell window to bring changes.
- Now to install the Exchange Online module write the command “Install-Module -Name ExchangeOnlineManagement“.
Method to Update the V2 module:
If you have any previous version installed in your system but you need to update the version, you have to use the following commands in the Command Prompt.
- To check the version of the V2 module use the following commands Import-Module ExchangeOnlineManagement; Get-Module ExchangeOnlineManagement.
- Now update the version that is available in the PowerShell Gallery by writing the command in the command prompt Update-Module -Name ExchangeOnlineManagement.
Method to Uninstall the module:
If you want to get rid of the V2 module, you have to write the following command in the command prompt.
Uninstall-Module -Name ExchangeOnlineManagement
Properties of V2 module:
Most of the cmdlets give the output that contains all the object properties which will increase the server loads and network load. While the V2 module blocked the unnecessary properties into the property sets. The V2 module differentiates the properties instead of giving equal importance to all properties. It creates the property sets which are controlled by some parameters.
This will receive more than one property sets, you need to write the command in PowerShell as follow
“Get-EXOMailbox -PropertySets Archive,Custom”
The above command will give the properties that are available in Archive and custom.
This will accept the parameters and return specific property. “Get-EXOMailbox -Properties LitigationHoldEnabled,AuditEnabled”.
- If you don’t use the PropertiesSets and property parameters, you can enjoy the other parameters as well.
- If you use the above 2, you can access the specific properties only.
Cmdlets output will show faster results than any other exchange module. For example, the properties set of mailboxes we have to write the following command “Get-EXOMailbox -ResultSize 10“.
Exchange Online PowerShell empowers you to control the configuration through the command line. It enables the admin to change the Exchange module through the command Prompt. The cmdlets output will give faster results than any other Exchange online. The admin can connect Office 365 with Exchange Online to retrieve data, create new data, update existing data and much more.