Last active
October 10, 2017 04:33
-
-
Save AndrewWCarson/29b5437d40a252a71ea0e5e7dafbdaf1 to your computer and use it in GitHub Desktop.
Enable Focused Inbox for an organization in Office 365 E1.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This opens a GUI password prompt to store the O365 admin password. | |
$UserCredential = Get-Credential | |
# Initiate a remote Powershell session with O365. | |
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection | |
Import-PSSession $Session | |
# Display the org-wide settings. | |
Get-OrganizationConfig | |
# Enable Focused Inbox. | |
Set-OrganizationConfig -FocusedInboxOn $true | |
Get-FocusedInbox -Identity quinns108@andrewworthcarson.com | |
# End the remote session. | |
Remove-PSSession $Session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment