Closed DanielRonies closed 10 months ago
You want to modify Get-GalContacts.ps1, line 78 & use the ExcludeContactsWithoutPhoneNumber switch.
OLD
$ContactList = $ContactList | Where-Object {$_.Phone -or $_.MobilePhone}
NEW
$ContactList = $ContactList | Where-Object {$_.MobilePhone}
Good morning, mine is not a problem, it's a question about how to modify the script to achieve this.
I want to only synchronize the accounts that have the field "MobilePhone" set to true. Currently, I know it includes the fields "Phone" or "MobilePhone," but I only want the latter.
Thank you very much.
Regards.