Manage fonts in Outlook (new) via PowerShell

In the past I’ve created a blog post about managing the default fonts for Outlook. Someone replied to this post asking if this is also possible for the new Outlook client. This led to some investigations and this blogpost.

Currently, it seems not possible to modify the default fonts locally using the registry/PowerShell. For admins there’s a method available to manage some settings using the Set-MailboxMessageConfiguration cmdlet.

The documentation currently states that it only applies to Outlook Web. This is not true. Some settings do work for the new Outlook client. For example the default font and font-size setting.

Change the default font and font-size

Currently my new Outlook uses the following font (Arial) and font-size (12).

  1. Connect to ExchangeOnline via Powershell
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName <UPN>

2. Change the font and font-size

Set-MailboxMessageConfiguration -Identity username@domain.com -DefaultFontName Calibri -DefaultFontSize 11

Restart the new Outlook client and verify your changes.

Change the default font and size for all mailboxes

If you want this setting for every mailbox/user you might want to use the following script. Make sure to modify the command to your required font and font-size.

# Query all the mailboxes
$Mailboxes = Get-Mailbox -ResultSize Unlimited

# Loop through each mailbox
foreach ($mailbox in $mailboxes) {
    # Apply desired settings
    Set-MailboxMessageConfiguration -Identity $mailbox.Identity -DefaultFontName Calibri -DefaultFontSize 11
}

Related Posts

Leave a Reply

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

19 − 4 =