Description: this document describes using windows PowerShell and to connect to exchange online
1. Web Links for Admins
d) Account Maintenance: FAQs for Live@edu Administrators: http://help.outlook.com/en-us/140/Cc875956.aspx
2. Install PowerShell for Windows (Note: Windows XP and Windows 7 have different installers)
3. Verify the account you will use to connect is authorized to connect using Windows PowerShell. For more information, see http://help.outlook.com/en-us/140/dd256962.aspx
4. Connect Windows PowerShell on your local computer to the cloud-based service. Click Start > All Programs > Accessories > Windows PowerShell > Windows PowerShell. Start PowerShell in Admin Mode
5. Admin Login: Login ID:
6. Run the following command:
7. In the Windows PowerShell Credential Request window that opens, type the credentials of an account in your cloud-based organization. When you are finished, click OK. Use School Admin or Master Admin or AB account. Run the following command:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Note: The AllowRedirection parameter enables cloud-based organizations in datacenters all over the world to connect Windows PowerShell to the cloud-based service by using the same URL.
8. Run the following command:
Note: A progress indicator appears that shows the importing of commands used in the cloud-based service into the client-side session of your local computer. When this process is complete, you can run these commands.
9. Disconnect Windows PowerShell from the cloud-based service
When you're finished using the server-side session, always disconnect Windows PowerShell by running the following command:
For example, to disconnect from the server-side session that is defined by the $Session variable, run the following command:
Important If you close the Windows PowerShell window without disconnecting from the server-side session, your connection will remain open for 15 minutes. Your account can only have three connections to the server-side session at one time.



No comments:
Post a Comment