Exchange search via PowerShell

Ändrad den Ons, 5 juni vid 3:50 E.M.

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 2024-05-31

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