Ask Your Question
0

How can Powershell be used to search for an email address that contains a plus (+) sign?

asked 2023-07-09 19:38:53 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-07-09 19:52:01 +0000

pufferfish gravatar image

To search for an email address that contains a plus (+) sign using Powershell, you can use the following command:

Get-MessageTrace -RecipientAddress "*+*"

This command will search for all email messages that have a recipient address containing the plus (+) sign.

You can also use wildcards (*) before and after the plus sign to match any character before and after the plus sign. This will search for email addresses that have any characters before and after the plus sign.

Get-MessageTrace -RecipientAddress "*+*example.com"

This command will search for all email messages that have a recipient address containing the plus (+) sign and ending with the domain example.com.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-07-09 19:38:53 +0000

Seen: 10 times

Last updated: Jul 09 '23