Exchange search via PowerShell

Ändrad den Wed, 28 Dec 2022 vid 11:10 AM

Denna funktion använder PowerShell som verktyg. 


Get-Mailbox -ResultSize unlimited | search-Mailbox -SearchQuery 'From:Jon.Jonsson@imobilen.com' -TargetMailbox eventful -LogLevel Full -TargetFolder Log -DeleteContent



Exchange Search keywords


PropertyExampleSearch results

Attachments



attachment:annualreport.pptx



Messages that have an attachment named annualreport.pptx. The use of attachment:annualreport or attachment:annual* returns the same results as using the full name of the attachment.



Cc



cc:paul shen


cc:pauls


cc:pauls@contoso.com



Messages with Paul Shen in the Cc field.



From



from:bharat suneja


from:bsuneja


from:bsuneja@contoso.com



Messages sent by Bharat Suneja.



Keywords in retention policy



retentionpolicy:business critical



Messages that have the Business Critical retention tag applied.



Date when messages expire according to policy



expires:4/1/2010



Messages that expire on April 1, 2010.



Sent



sent:yesterday



All messages sent yesterday.



Subject



Subject:"patent filing"



All messages where the phrase "patent filing" appears in the Subject field.



To



to:"ben smith"


to:bsmith


to:besmith@contoso.com



Messages that have Ben Smith in the To field.




Kontrollerad 2022-12-28

Var artikeln till hjälp?

Toppen!

Tack för din feedback

Vi beklagar att det inte var till hjälp

Tack för din feedback

Berätta för oss hur vi kan förbättra den här artikeln!

Välj minst en av orsakerna
CAPTCHA-verifiering krävs.

Feddback skickat

Vi uppskattar din feedback och uppdaterar artikeln vid behov