MS Outlook & Exchange sucks but that's what my company supports. I am not going to discuss why I need it this... it will end up in an unnecessary flame.
Required software:
- Download and install Microsoft .NET Framework 3.5 SP1: http://www.microsoft.com/en-us/download/details.aspx?id=25150
- Download and install Microsoft Sign In Assistant: http://www.microsoft.com/en-us/download/details.aspx?id=39267
- Download and install Windows Azure AD Module for Windows PowerShell: http://technet.microsoft.com/en-us/library/jj151815.aspx#BKMK_Requirements
Connect to the 365 system with:
[codesyntax lang="powershell"]
Import-Module MSOnline $O365Cred = Get-Credential $O365Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $O365Cred -Authentication Basic -AllowRedirection Import-PSSession $O365Session -AllowClobber Connect-MsolService -Credential $O365Cred
[/codesyntax]
Note: if you have Windows 10 (please start powershell as Administrator, otherwise it won't work), then you will have to use this code:
[codesyntax lang="powershell"]
$O365Cred = Get-Credential $O365Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $O365Cred -Authentication Basic -AllowRedirection Import-PSSession $O365Session -AllowClobber
[/codesyntax]
0 Comentarii.