Nov 09 2017 07:58 AM
Hi, is there a Powershell command to pull all user signatures from 365 mailboxes?
I see there is a command to set it for a user using "Set-OSCEXOEmailSignature" but I cannot see it works for "get".
Thanks
Nov 09 2017 08:12 AM
Looking at the script that I found here: https://gallery.technet.microsoft.com/office/Set-Email-Signatures-in-792587f5/view/Discussions
It looks like it might be possible to develop a similar script to get the signatures. But I don't think that it exists yet.
Nov 09 2017 10:28 AM
Nov 09 2017 11:45 AM
Well, keep in mind that users might not have server-side signatures configured, and simply use the Outlook ones. But you can get them via PowerShell:
Get-Mailbox -RecipientTypeDetails UserMailbox | Get-MailboxMessageConfiguration | select Identity,Signature*
Nov 10 2017 08:34 AM
The question surely is after you return all the signatures stored in user mailboxes, what do you do with it?
Mar 02 2020 06:21 AM - edited Mar 02 2020 06:22 AM
I know this is old, but however for the sake of completeness I am going to add my experience: spammers often add a spam link in the signature of accounts they managed to steal credentials. Extracting all signatures may be a way to approach the issue.
Mar 02 2020 06:45 AM
@Michelangelo Bottura I think you might want to focus on topics like eliminating basic authentication and upgrading email clients first. The basic thing you need to do is to stop hackers getting in before you move on to worrying about email signatures. According to Microsoft, 99% of compromised accounts did not use MFA. That would be a much more productive way to stop spammers stealing credentials in the first place.
Mar 02 2020 12:09 PM
Mar 02 2020 12:13 PM
@Michelangelo Bottura Or just control the signatures centrally... as described in https://office365itpros.com/2020/02/20/updating-owa-signatures-powershell/