How to connect remote PowerShell to the office365's cloud-based organization?
Description
1. Open Windows PowerShell.
2. Enter the credentials of an administrator account in the cloud-based organization using the following command.
$LiveCred = Get-Credential
3. Create a connection to the cloud-based organization using the following command.
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
4. Load the Exchange cmdlets on the local computer using the following commands.
Import-PSSession $Session
Affected software:
Microsoft Exchange 2010 SP1
Office 365 RTM
Comments:
Comment #1 from Zabrina [Username: Guest] at 28/09/2011 02:51 |
Yo, that's what's up trthufluly. |