| Connecting to Microsoft Office 365 on Android » |
Microsoft 365 has a bunch of additional features not found on their OWA (Outlook web application) which you can access via Powershell, however you will need at least a Computer Science degree to use MS’ Powershell.
If you like reading and would like to find out more about Powershell from MS, check out
http://onlinehelp.microsoft.com/office365-enterprises/hh124998.aspx
Fortunately, Ross provided me a couple of commands to log into 365’s powershell easily.
...
Firstly, ensure that your executionpolicy is set to RemoteSigned. If unsure just run the following
Code:
Set-ExecutionPolicy RemoteSigned |
To login to 365 via powershell, if you have MSOnline modules (instructions on installing MSOnline in the above Powershell link), try the following with your 365 Admin account or try alternate method further below.
Code:
$user = "admin@yourdomain.com.au" | |
$cred = Get-Credential -Credential $user | |
Import-Module MSOnline | |
Connect-MsolService -Credential $cred | |
$msoExchangeURL = “https://ps.outlook.com/powershell/” | |
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri $msoExchangeURL -Credential $cred -Authentication Basic -AllowRedirection | |
Import-PSSession $session |
Otherwise try this if you don’t
Code:
$LiveCred = Get-Credential | |
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection | |
Import-PSSession $Session |