Tuesday, February 26, 2013

How to Install and Connect the Office 365 PowerShell cmdlets - Step01

You can install the cmdlets on a Windows 7 and Windows 8 or Windows Server 2008 R2 computer. You must have Windows PowerShell and the .NET Framework 3.5.1 enabled. You must install the Microsoft Online Services Sign-in Assistant. Download and install one of the following from the Microsoft Download Center:
Install the Microsoft Online Services Sign-in Assistant:
Microsoft Online Services Sign-In Assistant (IDCRL7) – 32 bit ,
Microsoft Online Services Sign-In Assistant (IDCRL7) – 64 bit
To install the Microsoft Online Services Module for Windows PowerShell:
Microsoft Online Services Module for Windows PowerShell (32-bit , 
Microsoft Online Services Module for Windows PowerShell (64-bit

For more information: Use Windows PowerShell to manage Office 365
Download and Install the Microsoft Online Services Module for Windows PowerShell for Single Sign on

Download the Microsoft Online Services Module

How to connect O365 PowerShell
Click Start , All Programs , Microsoft Online Services (Folder) and select Microsoft Online Services Module for Windows PowerShell

Method 1: Copy and paste the commands below:
 $LiveCred = Get-Credential
Connect-MSOLservice –Credential $livecred
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session


Method 2:
Import-Module MSOnline
$Creds = Get-Credential
Connect-MsolService –Credential $Creds