Use Windows PowerShell for Exchange Online
A. Install Power Shell 3.0
1. Install the full installation of Microsoft .NET Framework 4.0 (dotNetFx40_Full_setup.exe) from the Microsoft Download Center at http://go.microsoft.com/fwlink/?LinkID=212547.
Or, install Microsoft .NET Framework 4.5 (dotNetFx45_Full_setup.exe) from the Microsoft Download Center at http://go.microsoft.com/fwlink/?LinkID=242919.
2. Install Windows Management Framework 3.0 from the Microsoft Download Center at http://go.microsoft.com/fwlink/?LinkID=240290.
B. Install Windows Azure Active Directory Module ( Microsoft Online Services Module)
Install Microsoft Online Services Module to connect to your local PowerShell session and create your Microsoft Online Office365 Administration session.
- (32-bit version) http://go.microsoft.com/fwlink/p/?linkid=236298
- (64-bit version) http://go.microsoft.com/fwlink/p/?linkid=236297
C. Configuring Power Shell
Now Open a PowerShell session and import the MS Online Module using command;
Import-Module MsOnline
Windows PowerShell script execution must be enabled on the computer you use to connect to Exchange Online. To enable script execution for signed scripts, run the following command in an elevated Windows PowerShell window.
Set-ExecutionPolicy RemoteSigned
No comments:
Post a Comment