Deprecated: Function is_staging_site is deprecated since version 3.3.0! Use in_safe_mode instead. in /var/www/CloudIngenium.com/htdocs/wp-includes/functions.php on line 6078
How to: Connect to a Remote Office 365 Tenant PowerShell Session – Knowledge eXchange
Deprecated: Function is_staging_site is deprecated since version 3.3.0! Use in_safe_mode instead. in /var/www/CloudIngenium.com/htdocs/wp-includes/functions.php on line 6078

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

Enhanced by Zemanta

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.