Dear Team,
1. We have a requiremnt to filter users who are not enabled "in-place eDiscovery & hold " (Ex: all newly added users in office 365 / Exchange 2013) to add to a "in-place eDiscovery & hold" policy named "xyz-365 Days"
2. By doing this, it should not remove existing users in the policy
The follwing are the commands related to this.
New-MailboxSearch "searchname" -SourceMailboxes "user@domain.com" -InPlaceHoldEnabled $true
Set-MailboxSearch "searchname" -sourcemailbox user@domain.com