Jump to content

Removing email signatures via Powershell


Recommended Posts

Posted (edited)

We're currently in the process of standardising our email signatures, I've got the signature as I want it and I'm now trying to remove existing signatures via Powershell and prevent users from setting their own. I've ran the below command which seems to run fine and disabled signatures via OWA policy. However, despite this the signatures remain and users are still able to create them. Has anyone else successfully done this?

 

$mailboxes = Get-Mailbox -ResultSize unlimited;
$mailboxes | foreach { Set-MailboxMessageConfiguration -identity $_.alias -AutoAddSignature $false -AutoAddSignatureOnReply $false}
$mailboxes | foreach { Set-MailboxMessageConfiguration -identity $_.alias -SignatureHtml "" -SignatureText "" -SignatureTextOnMobile ""}

Edited by Guest
Guest ZFarnworth
Posted
If you don’t mind me asking, what exchange version are you running? :)
Posted
If you don’t mind me asking, what exchange version are you running? :)
It's Office 365
Posted
I might be wrong, but I think that with desktop Outlook, a user’s signature is stored locally in Outlook rather than in the user’s Exchange account. I know that every time I’ve changed computers or used someone else’s I’ve had to redo my signature in Outlook
Posted
I might be wrong, but I think that with desktop Outlook, a user’s signature is stored locally in Outlook rather than in the user’s Exchange account. I know that every time I’ve changed computers or used someone else’s I’ve had to redo my signature in Outlook

 

Yes. The desktop Outlook signatures are (by default) stored in %appdata%\Microsoft\Signatures. I would love MS to make it so they could be synced between desktop Outlook and Office 365, but it doesn't look like something that's even on the roadmap. So even if PS does scrub everyone's 365 signatures it's not going to effect your other devices.

To do that, you need 3rd party apps, and even then they don't really sync anything they just centrally set the same signature across different users and platforms.

 

For what their endgame is, OP might be best just getting a 3rd party signature app like https://www.exclaimer.com/exclaimer-cloud/signatures-for-exchange/ (others are available)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...