Global search on Exchange (Cloud Environment)

Welcome Forums General PowerShell Q&A Global search on Exchange (Cloud Environment)

This topic contains 2 replies, has 2 voices, and was last updated by

Hil
 
Participant
1 year, 3 months ago.

  • Author
    Posts
  • #84278
    Hil

    Participant
    Points: 23
    Rank: Member

    Hi,

    We have a hybrid environment.
    I need to find out all cloud users that received a message. All I have is the SUBJECT and DATE range.
    Any ideas on the PowerShell command or script?

    I am able to find a message given the user name with...

    Search-Mailbox -identity  -SearchQuery subject:' AND (Received:)' -TargetMailbox  -TargetFolder 

    ..but I need to do a global search, across all users.
    Thanks

  • #84283
    Jon

    Participant
    Points: 65
    Rank: Member

    Have you tried this?

     get-mailbox -resultsize unlimited | search-mailbox -searchquery....
    • #84361
      Hil

      Participant
      Points: 23
      Rank: Member

      Jon, yes thanks that would work.
      Although when I tried that, it spun for a hour or so and then gave a controller failure (Throttled).
      I ended up calling up MS support and they mentioned that get-mailbox is being deprecated and for cloud usage the Compliance search needs to be used.
      They also mentioned that get-mailbox is throttled but Compliance search is not.
      Thanks
      Hil

The topic ‘Global search on Exchange (Cloud Environment)’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort