Exchange – Useful Powershell Commands

Here is some useful Powershell Commands for reports: To install the latest public version of the module, run the following command Set-ExecutionPolicy RemoteSigned Install-Module -Name ExchangeOnlineManagement To Connect to Exchange Online with Powershell using modern authetication Import-Module ExchangeOnlineManagement Connect-ExchangeOnline Disconnect-ExchangeOnline List All Email Adresses in a .txt file Get-recipient -resultsize unlimited | select Name -expand Læs mere…

Configure DKIM with Office 365

Description Many administrators are familiar with SPF (Sender Policy Framework) as a system to declare and verify who can send emails from a domain. In the fight against spam and phishing, SPF is not enough anymore. DKIM (DomainKeys Identified Mail) is an email authentication system based on asymmetric cryptographic keys. Læs mere…

Outlook Data File Performance

Outlook Data File Performance If you have a large .pst or .ost file, you may experience application pauses while you perform typical operations in Outlook. These typical operations include reading email messages, moving email messages, and deleting email messages. The following list summarizes expected behavior based on the size of Læs mere…

Office 365 – Setting Default Calendar Permissions To Reviewer For All Users

Step 1: Connect to Exchange Online using PowerShell $Credential = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Credential -Authentication Basic -AllowRedirectionImport-PSSession $Session Step 2: Generate a list of all mailboxes $users = Get-Mailbox -Resultsize Unlimited Step 3: Set Default access to Reviewer for all User mailboxes foreach ($user in $users) {Write-Host Læs mere…