🔗Step 1: Download Set-OutlookSignatures
Download Set-OutlookSignatures and extract the archive to a local folder.
On Windows and macOS, unblock the file 'Set-OutlookSignatures.ps1'. You can use the PowerShell cmdlet 'Unblock-File' for this, or right-click the file in File Explorer, select Properties and check 'Unblock'. This removes the 'mark of the web', which can prevent script execution in PowerShell.
🔗Step 2: One-time preparations
Client and user
For a first test run, it is recommended to log on with a test user on a Windows system with Word and Outlook installed, and Outlook being configured with at least the test user's mailbox. If you use your own user, existing signatures will be overwritten in the worst case.
For full Linux and macOS support, the Benefactor Circle add-on is required and the mailboxes need to be hosted in Exchange Online.
Entra ID
When some or all of your mailboxes are in Exchange Online, you need to register an Entra ID app first. This is because Set-OutlookSignatures needs permissions to access the Graph API.
To create the Entra ID app, ask your Entra ID 'Global Admin' or 'Application Administrator' to run the following and follow the instructions:
.\sample code\Create-EntraApp.ps1 -AppType 'Set-OutlookSignatures' -AppName 'Set-OutlookSignatures'
The code in the script file is well documented, containing all details about the required Entra ID app settings, permissions, and why they are needed.
Endpoint security
If you require PowerShell script to be signed with select certificates, use AppLocker or a comparable solution such as Defender, CrowdStrike, Ivanti, and others, you may need to specifically allow Set-OutlookSignatures to be run and to load libraries from the TEMP folder (which is used to not lock files in their original location).
Ask your endpoint security administrator to trust software signed with ExplicIT Consulting's certificate. All PS1 and DLL files that come with the Set-OutlookSignatures download in step 2 are signed with this certificate.
🔗Step 3: Run Set-OutlookSignatures
- If all mailboxes are in Exchange on-prem
powershell.exe -noexit -file "c:\test\Set-OutlookSignatures.ps1"
- If some or all mailboxes are in Exchange Online
powershell.exe -noexit -file "c:\test\Set-OutlookSignatures.ps1" -GraphOnly true -GraphClientId "<GraphClientId from step 1 Entra ID>"
The '
-GraphOnly true
' parameter makes sure that on-prem Active Directory is ignored and only Graph/Entra ID is used to find mailboxes and their attributes.
If you are not using the public Microsoft cloud but a national cloud, add the following parameter: '-CloudEnvironment [AzureUSGovernment|AzureUSGovernmentDoD|AzureChina]
'
Set-OutlookSignatures now adds signatures based on default settings and sample templates to your Outlook.
Open Outlook and take a look at the newly created signatures. 'Formal', 'Informal' and the particularly comprehensive 'Test all default replacement variables'.
Congratulations, you now have a robust starting point for your own customizations!
🔗Customize settings
You can now start with your own customizations. Here are a few popular examples:
🔗Simulaton mode
Would you like to see what the sample signatures provided look like for another user? Then simply use the integrated simulation mode:
- Select the email address of any user in your system.
- Restart Set-OutlookSignatures in a new PowerShell session, but this time with the additional parameter '
-SimulateUser a@example.com
' (replace 'a@example.com’ with the email address you selected earlier).
In your 'Documents' folder, you will now find a new subfolder called 'Outlook Signatures', which contains the signatures of the simulated user.
The simulation mode can do much more and is therefore very well suited for testing and analysis in production environments.
🔗Use your own templates
No sample signature is as beautiful as your own. So let's let Set-OutlookSignatures work with your own templates!
- Create a folder with your own templates and configurations.
- To get started, simply copy the '.\sample templates' folder and customize the templates it contains.
- Run Set-OutlookSignatures again and specify where to find the new templates:
- '
-SignatureTemplatePath 'c:\your_signature_template_path'
' for the folder where your signature templates are located. - '
-SignatureIniFile 'c:\your_signature_template_path\_Signatures.ini'
' for the path to the signature configuration file. - If you have customized the HTML templates instead of the DOCX templates, also use '
-UseHtmTemplates true
’.
- '
Does your own signature look good in Outlook? With the simulation mode, you can quickly find out how it looks for another mailbox.
🔗And now you!
Adjust other parameters that you find useful.
The list of features and parameter documentation show what is possible.
You can find answers to the most frequently asked questions on our FAQ page. For more in-depth information, our Help and Support Center offers excellent documentation.
🔗Show what you've created
We know that some of you have built visually stunning email signatures, crafted clever out-of-office replies, implemented custom replacement variables, and even integrated third-party systems in ways that go far beyond the basics.
We're looking for:
- Final versions or templates of your email signatures
- Examples of out-of-office replies
- Snippets of custom code or integration logic
- A short statement about your experience with Set-OutlookSignatures or the Benefactor Circle add on
- Your name, role, and company, along with a photo and company logo for your showcase
Just get in touch with us!
🔗Looking for help or more features?
Set-OutlookSignatures is very well documented, which inevitably brings with it a lot of content.
If you are looking for someone with experience who can quickly train you and assist with evaluation, planning, implementation and ongoing operations: Our partner ExplicIT Consulting offers first-class professional support, and their Benefactor Circle add-on adds more enterprise-grade features.