We have a list of cell phone contacts which we load from a .pst file to new users when they start using this command:
New-MailboxImportRequest -Mailbox (userid) -FilePath \EX1\c$\ExFiles\CellPhoneContacts.pst -TargetRootFolder "Contacts"
Once finished we log into the users account using OWA, go into "People", expand out "Other Contacts", right click the "Cell Phone List" and hit "Add to Contacts". It then lists a "Cell Phone List" as a subdirectory under their contacts which then through Active Sync adds all the contacts to their phones.
Of course after time the list gets out dated. Is there a command to search a users contacts, in this "Cell Phone List" subfolder, for all contacts with a matching company name (ours) and delete them? I can figure out the looping through users and the re-adding the contacts back in but I can't figure out how to delete whats there. Deleting the entire "Cell Phone List" subfolder would also be acceptable as only our contacts should be in there.