Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

New-MailboxSearch for all items creates confirmation prompt

$
0
0

I've tried these two variations of the New-MailboxSearch command, but create a prompt I can't seem to suppress.

Try1:

New-365MailboxSearch-Name$iphName-SourceMailboxes$DisabledMailbox.PrimarySMTPAddress-InPlaceHoldEnabled$true-ItemHoldPeriodUnlimited-EstimateOnly-Confirm:$false

Try2:

New-365MailboxSearch-Name$iphName-SourceMailboxes$DisabledMailbox.PrimarySMTPAddress-InPlaceHoldEnabled$true-ItemHoldPeriodUnlimited-EstimateOnly-Confirm:$false-Force

Error:

An empty search will return all items in the source mailbox. If you don't want to copy all the items from the source mailbox, specify additional parameters to narrow the search.

Any thoughts?


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>