PowerShell script exchange
Post Reply
ri_joe
Influencer
Posts: 10
Liked: never
Joined: May 02, 2019 8:28 am
Contact:

Get-VEXItem -Query scope

Post by ri_joe »

Hello,

https://helpcenter.veeam.com/docs/backu ... l?ver=95u4
According to the doc:
Allows using keywords for mailbox item search. The cmdlet will return items that match the search query from the specified folder, database or mailbox.
So what's the search scope? on subject, mail body or sender?

Or can I limit the search by additional parameter. for example: -Query subject="abc"

Thanks
Mike Resseler
Product Manager
Posts: 8044
Liked: 1263 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Get-VEXItem -Query scope

Post by Mike Resseler » 1 person likes this post

Ri-Joe,

You need to create a query like you would do in Outlook (https://support.office.com/en-us/articl ... 6FB895A8DA)

So when you create this, you need to do something like -Query "subject:abc to:someone". (Or use a string variable like: -Query $Query)
ri_joe
Influencer
Posts: 10
Liked: never
Joined: May 02, 2019 8:28 am
Contact:

Re: Get-VEXItem -Query scope

Post by ri_joe »

Thank you Mike
Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests