OneScript Team Blog

A world of automation script samples based on IT Pros' real-world tasks

[Script of Dec 3rd] Configuring a Windows PowerShell Profile for Office 365 Exchange Online

[Script of Dec 3rd] Configuring a Windows PowerShell Profile for Office 365 Exchange Online

  • Comments 1
  • Likes

Script Download: SetOffice365PowerShellProfile .zip
http://gallery.technet.microsoft.com/scriptcenter/Configuring-a-Windows-faecf7cb

This script can configure a Windows PowerShell profile for Office 365 Exchange Online. It appends the Connect-OSCExchangeOnline and Disconnect-OSCExchangeOnline functions to your Windows PowerShell profile. Afterward, you can use these two functions directly without remembering New-PSSession and its parameters.

Currently, Office 365 Exchange Online administrators use the New-PSSession function to connect Windows PowerShell to Office 365. Some administrators feel that it is difficult to remember all the parameters clearly. It is better to use a Windows PowerShell profile to store the two functions and help administrators use Office 365 more easily.

 

image image
image image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment