Jason Palmer, CPA, CITP

Cyber Insurance Auditing

  • Home
  • Blog
  • Services
    • Break/Fix
    • Network Infrastructure
    • Installation
    • Web Hosting
    • Web Applications
  • Consulting
  • Vendors
  • U.S. Federal Courts
  • About Us
  • Contact Us
  • Product Showcases
You are here: Home / Office365 / Connect Microsoft Online Services Module for Windows PowerShell to Office365

Connect Microsoft Online Services Module for Windows PowerShell to Office365

June 7, 2012 By Jason Palmer Leave a Comment

Office 365Many of the features we take for granted in a traditional or hosted Microsoft Exchange / Outlook environment which can be easily managed in the Exchange Management Console or Outlook itself, require the use of the Microsoft Online Services Module for Windows PowerShell to accomplish in Office365.  These features include, but are not limited to, Delegation and Mailbox Permissions as well as many AD (Active Directory) management features.

 

The Windows PowerShell for Windows Server 2008 SP1/SP2, Windows Server 2003 SP2, Windows 7 and Windows XP SP3 is available at the  Windows PowerShell Web site  http://www.microsoft.com/powershell

 

The Microsoft Online Services Module for Windows PowerShell for Office365 is available here:

http://onlinehelp.microsoft.com/Office365-enterprises/ff652560.aspx

 

Windows PowerShell IconOnce both the Windows PowerShell and Microsoft Online Services Module Powershell for Office365 are installed, use the following commands to connect your local PowerShell session and create your Microsoft Online Office365 Administration session:

 

Copy and Paste each of the following commands, in sequence, in to the PowerShell command line window.

Tip:   Copy and paste long strings in to Notepad and turn Word Wrap OFF, then copy and past in to PowerShell.

  • Click on Start > All Programs > Accessories > Windows PowerShell > Windows PowerShell
  • Optional, if script security errors, then use this command once per session:
  • Set-ExecutionPolicy RemoteSigned
  • Login to Office365 Administrative Account through the PowerShell
  • $LiveCred = Get-Credential
  • When prompted enter the credentials of an administrator account:

This should be your fully qualified user name such as:

user@your-domain.onmicrosoft.com

  • Create the Session:
  • $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection
  • Import-PSSession $Session

To get a list of commands:    Get-Command -Module tmp*

Reference to Available PowerShell Cmdlets in Exchange Online

http://help.outlook.com/en-us/140/dd575549.aspx

 

Other related stories...

  • Office365 Hosted Microsoft Exchange Email – The Better Value

Filed Under: Office365 Tagged With: connect microsoft, microsoft online, microsoft online services, microsoft windows powershell, online services module, powershell, powershell cmdlets, powershell commands, windows powershell

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

The CAPTCHA cannot be displayed. This may be a configuration or server problem. You may not be able to continue. Please visit our status page for more information or to contact us.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Connect

  • Email
  • Facebook
  • LinkedIn
  • RSS
  • Twitter

Categories

  • ACT! Premium CRM
  • Cloud
  • Commentary
  • Consulting
  • Disaster Planning
  • Google Apps
  • Management Consulting
  • Networking
  • Office365
  • Printer Issues
  • Security
  • Tech in Plain English
  • Tech Tips
  • Virtualization
  • Wordpress

The Tweetisphere

  • Just now
  • https://twitter.com/palmercomputer

Pages

  • About Us
  • Blog
  • Break/Fix
  • Consulting
  • Contact Us
  • Cyber Insurance Auditing
  • Installation
  • Network Infrastructure
  • Product Showcases
    • Brocade Product Showcase
    • Cisco Product Showcase
    • EMC Product Showcase
    • Emerson Product Showcase
    • IBM Product Showcase
    • Intel Product Showcase
    • Juniper Product Showcase
    • Veeam Product Information
    • VMWare Product Showcase
    • Xerox Office Products
  • U.S. Federal Courts
  • Vendor List
  • Web Applications
  • Web Hosting

Copyright © 2025 · Log in