Forum Discussion
PowerShell script to change font of office apps
SteveMacNZ Hi Steven, thank you for the reply!
The document templates are already fixed. The only thing we want to change is the Outlook email font. Jason fixed it with his script, and i can deploy it as a intunewin package, but i can't find the right code for Arial and 10 size.
I checked it, but your script doens't work for the default font in Outlook. Atleast not for me 😞
Regards Aaron
Hi Aron,
The script below will work. First you need to go to Outlook on your local device and set the default font to Arial 10, this will set the values in the registry. Then go to the registry and copy the values from HKCU:\SOFTWARE\Microsoft\Office\16.0\Common\MailSettings and replace the ones I have used in the example below. I have also included the write-output "Script worked" | out-file c:\Scripts\output.txt so you can see if the script has worked. This should give you what you need.
- Aaron89Aug 22, 2023Copper ContributorHow did you do it?
- Pallav1011Feb 14, 2023Copper Contributor
Aaron89, I have managed to change the default font for Outlook.
Is there any way if I can change the default font for Word and Powerpoint too?
- Ashish_AryaJan 24, 2022Brass Contributor
Jason275 : Can you please add the full code here. I would prefer in text format instead of an image.
Thanks.