Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵兆

執行包含查詢字串中可能日期的系統管理員搜尋要求時,如果日期字串為英制格式 (日/月/年) 。 這不包含搜尋查詢的日期屬性。

範例:

Search-Mailbox -Identity User1 -TargetFolder SearchResults -TargetMailbox SearchUser -SearchQuery ‘attachment:”SEG 12 12 2019.txt”’

Search-Mailbox -Identity User1 -TargetFolder SearchResults -TargetMailbox SearchUser -SearchQuery ‘subject:”Born 12 12 2019 USA”’

原因

這是斷字元中的已知問題。

因應措施

方法 1:

請勿在 SearchQuery 字串中使用日期。

注意:您仍可使用日期來搜尋日期屬性。 

方法 2:

使用萬用字元來中斷日期。

以下兩個範例顯示如何使用萬用字元:

Search-Mailbox -Identity User1 -TargetFolder SearchResults -TargetMailbox SearchUser -SearchQuery ‘subject:”Born 12 12 * 2019 USA”’

Search-Mailbox -Identity User1 -TargetFolder SearchResults -TargetMailbox SearchUser -SearchQuery ‘attachment:”SEG 12 12 * 2019 txt”’

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×