Skip to content

v1.0.0

Compare
Choose a tag to compare
@PrzemyslawKlys PrzemyslawKlys released this 18 Sep 11:42
· 13 commits to master since this release
c406824

What's new

  • Added Sync-O365PersonalContactFilter to allow filtering of users to synchronize by properties
  • Added Sync-O365PersonalContactFilterGroup to allow filtering of users to synchronize by group membership (ID only)
  • Allow synchronizing of contacts to personal contacts in Outlook to specific Folder (only 1 level deep)
# synchronize contacts for 1 user of two types (Member, Contact) using GUID prefix and filtering by company name
# this will only synchronize contacts that have CompanyName starting with 'Evotec' or 'Ziomek'
# this will also require contacts to be in a group by 'e7772951-4b0e-4f10-8f38-eae9b8f55962'
# this will also create a folder 'O365Sync' in user's personal contacts and put synchronized contacts there
# this will also return the results in a table
Sync-O365PersonalContact -UserId '[email protected]' -MemberTypes 'Contact', 'Member' -GuidPrefix 'O365Synchronizer' -PassThru {
    Sync-O365PersonalContactFilter -Type Include -Property 'CompanyName' -Value 'Evotec*','Ziomek*' -Operator 'like'
    Sync-O365PersonalContactFilterGroup -Type Include -GroupID 'e7772951-4b0e-4f10-8f38-eae9b8f55962'
} -FolderName 'O365Sync' | Format-Table
  • Improved Clear-O365PersonalContact to allow clearing of contacts in specific Folder, including deleting the folder itself
# this will only delete synchronized ones (based on FileAs property that has to convert to GUID, with GUID prefix) from specific folder
Clear-O365PersonalContact -Identity '[email protected]' -GuidPrefix 'O365Synchronizer' -FolderName 'O365' -WhatIf

# this will only delete synchronized ones (based on FileAs property that has to convert to GUID, with GUID prefix) from specific folder, including the folder
Clear-O365PersonalContact -Identity '[email protected]' -GuidPrefix 'O365Synchronizer' -FolderName 'O365Sync' -FolderRemove -WhatIf

Full Changelog: v0.0.4...v1.0.0