How to: Connect to a Remote Office 365 Tenant PowerShell Session
How to: Connect to a Remote Office 365 Tenant PowerShell Session
Probably at some point of using the new Microsoft´s Office 365 offering you´ll need to run some PowerShell commands against your Tenant sesison. Below I have gather a few commands to reference when working on a remote Office 365 Tenant PowerShell Session:
Connection:
$cred = Get-Credential
$global:session365 = New-PSSession -configurationname Microsoft.Exchange -connectionuri https://ps.outlook.com/powershell/ -credential $cred -authentication Basic -AllowRedirection
Import-PSSession $global:session365 –Prefix o365
Get-o365Mailbox
asd
Love
Can we use Let's Encrypt, the free and open certificate authority?
Hola! gracias por la info, me sirvió el comando sacandole el nombre del server. En mi caso, fue una migración…
Yes 3rd option helped me too. I removed the WC key Values from config file then started working.
I know this is from 2014. But really, thank you!