[PR #29] [MERGED] v2.5.0 #87

Closed
opened 2026-02-27 20:31:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/pull/29
Author: @GruberMarkus
Created: 1/14/2022
Status: Merged
Merged: 1/14/2022
Merged by: @GruberMarkus

Base: mainHead: develop


📝 Commits (10+)

  • ec12108 feat: New parameter CleanScriptCreatedSignatures
  • 0582ffc feat: new parameter ConsiderDistributionGroupMembership
  • 68d36dd docs(README): New FAQ: Why is dynamic distribution group and dynamic security group membership not considered?
  • 9c6cc9d feat: always consider distribution group membership, optimize query
  • a63ee29 test: Use all available SIDs for search across trusts
  • f87881b fix: Don't error when OOF and UseHTMTempates are used, but there is no *.htm in OOFTemplatePath
  • b9b0193 feat: Consider sIDHistory in searches across trusts
  • 66baba9 feat: Include CurrentMailbox sIDHistory in searches across trusts
  • e91a174 feat: Consider sIDHistory when checking msExchMasterAccountSid
  • 30b6821 feat: More sIDHistory optimizations

📊 Changes

116 files changed (+5955 additions, -1292 deletions)

View changed files

📝 LICENSE.txt (+0 -0)
📝 build/build.ps1 (+9 -2)
📝 docs/CHANGELOG.md (+26 -6)
📝 docs/CODE_OF_CONDUCT.md (+1 -1)
📝 docs/CONTRIBUTING.md (+23 -29)
📝 docs/Implementation approach.md (+1 -1)
📝 docs/README.md (+285 -190)
📝 src/Set-OutlookSignatures.ps1 (+904 -737)
📝 src/config/default graph config.ps1 (+1 -1)
📝 src/docs/LICENSE.txt (+1 -1)
📝 src/templates/Out of Office DOCX with ini/MyCompany OOF Marketing Christmas 2021.docx (+0 -0)
📝 src/templates/Out of Office DOCX with ini/MyCompany OOF Marketing New Year 2022.docx (+0 -0)
📝 src/templates/Out of Office DOCX with ini/MyCompany OOF external Helpdesk.docx (+0 -0)
📝 src/templates/Out of Office DOCX with ini/MyCompany OOF external Legal.docx (+0 -0)
📝 src/templates/Out of Office DOCX with ini/MyCompany OOF external Marketing.docx (+0 -0)
📝 src/templates/Out of Office DOCX with ini/MyCompany OOF external.docx (+0 -0)
📝 src/templates/Out of Office DOCX with ini/MyCompany OOF internal.docx (+0 -0)
📝 src/templates/Out of Office DOCX with ini/sample OOF ini file.ini (+31 -7)
📝 src/templates/Out of Office DOCX/MyCompany OOF Marketing Christmas 2021.[Domain Marketing-Group] [202112150000-202112262359].docx (+0 -0)
📝 src/templates/Out of Office DOCX/MyCompany OOF Marketing New Year 2022.[Domain Marketing-Group] [202112270000-202201062359].docx (+0 -0)

...and 80 more files

📄 Description

Added

  • New parameter DeleteScriptCreatedSignaturesWithoutTemplate, see README for details
  • New parameter EmbedImagesInHTML, see README for details
  • Tags can now not only be used to allow access to a template, but also to deny access. Denies are available for time, group and e-mail based tags. See README for details.
  • Consider distribution group membership in addition to security group membership
  • Consider sIDHistory in searches across trusts and when comparing msExchMasterAccountSid, which adds support for scenarios in which a mailbox or a linked account has been migrated between Active Directory domains/forests
  • Show matching allow and deny tags for each mailbox-template-combination. This makes it easy to find out why a certain template is applied for a certain mailbox and why not.
  • Show which tags lead to a classification as time based, common, group based or e-mail address specific template
  • New FAQ: Why is membership in dynamic distribution groups and dynamic security groups not considered?
  • New FAQ: Why is no admin or user GUI available?

Fixed

  • Don't throw an error when UseHTMTemplates is set to true and OOFIniFile is used, but there is no *.htm file in OOFTemplatePath
  • Correct mapping of Graph businessPhones attribute, so the replacement variable $CURRENT[...]TELEPHONE$ is populated (#26) (Thanks @vitorpereira!)
  • Fix Outlook 2013 registry key handling and temporary folder handling in environments without Outlook or Outlook profile (#27) (Thanks @Imaginos!)

Changed

  • Cache group SIDs across all types of templates to reduce network load and increase script speed
  • Deprecate file name based tags. They work as-is, no new features will be added and support for file name based tags will be removed completely in the next months. Please switch to ini files, see README for details.
  • Update usage examples in script

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/pull/29 **Author:** [@GruberMarkus](https://github.com/GruberMarkus) **Created:** 1/14/2022 **Status:** ✅ Merged **Merged:** 1/14/2022 **Merged by:** [@GruberMarkus](https://github.com/GruberMarkus) **Base:** `main` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`ec12108`](https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/commit/ec12108d48cd2e968fdc40349934a3b2c44a47d8) feat: New parameter CleanScriptCreatedSignatures - [`0582ffc`](https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/commit/0582ffc07a425333459064b883a6499f9f89c63a) feat: new parameter ConsiderDistributionGroupMembership - [`68d36dd`](https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/commit/68d36dde67179fead66109cd8074206e840f2a50) docs(README): New FAQ: Why is dynamic distribution group and dynamic security group membership not considered? - [`9c6cc9d`](https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/commit/9c6cc9d8b6298a07d658edabeb68690a6503cefc) feat: always consider distribution group membership, optimize query - [`a63ee29`](https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/commit/a63ee2947e9b590a5e3903dc9225829c971d4d37) test: Use all available SIDs for search across trusts - [`f87881b`](https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/commit/f87881b92e81f943422cddd0c6f82940f229ae7b) fix: Don't error when OOF and UseHTMTempates are used, but there is no *.htm in OOFTemplatePath - [`b9b0193`](https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/commit/b9b0193ac103019a6fcab1a292dec6218fbdac53) feat: Consider sIDHistory in searches across trusts - [`66baba9`](https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/commit/66baba944022828f53be6b4c7b7b0cd3038d79a1) feat: Include CurrentMailbox sIDHistory in searches across trusts - [`e91a174`](https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/commit/e91a17408910cdc9e99018e9662d642f704f2407) feat: Consider sIDHistory when checking msExchMasterAccountSid - [`30b6821`](https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/commit/30b68212f4f6af566c426a8461a6034ce04b522e) feat: More sIDHistory optimizations ### 📊 Changes **116 files changed** (+5955 additions, -1292 deletions) <details> <summary>View changed files</summary> 📝 `LICENSE.txt` (+0 -0) 📝 `build/build.ps1` (+9 -2) 📝 `docs/CHANGELOG.md` (+26 -6) 📝 `docs/CODE_OF_CONDUCT.md` (+1 -1) 📝 `docs/CONTRIBUTING.md` (+23 -29) 📝 `docs/Implementation approach.md` (+1 -1) 📝 `docs/README.md` (+285 -190) 📝 `src/Set-OutlookSignatures.ps1` (+904 -737) 📝 `src/config/default graph config.ps1` (+1 -1) 📝 `src/docs/LICENSE.txt` (+1 -1) 📝 `src/templates/Out of Office DOCX with ini/MyCompany OOF Marketing Christmas 2021.docx` (+0 -0) 📝 `src/templates/Out of Office DOCX with ini/MyCompany OOF Marketing New Year 2022.docx` (+0 -0) 📝 `src/templates/Out of Office DOCX with ini/MyCompany OOF external Helpdesk.docx` (+0 -0) 📝 `src/templates/Out of Office DOCX with ini/MyCompany OOF external Legal.docx` (+0 -0) 📝 `src/templates/Out of Office DOCX with ini/MyCompany OOF external Marketing.docx` (+0 -0) 📝 `src/templates/Out of Office DOCX with ini/MyCompany OOF external.docx` (+0 -0) 📝 `src/templates/Out of Office DOCX with ini/MyCompany OOF internal.docx` (+0 -0) 📝 `src/templates/Out of Office DOCX with ini/sample OOF ini file.ini` (+31 -7) 📝 `src/templates/Out of Office DOCX/MyCompany OOF Marketing Christmas 2021.[Domain Marketing-Group] [202112150000-202112262359].docx` (+0 -0) 📝 `src/templates/Out of Office DOCX/MyCompany OOF Marketing New Year 2022.[Domain Marketing-Group] [202112270000-202201062359].docx` (+0 -0) _...and 80 more files_ </details> ### 📄 Description ### Added - New parameter DeleteScriptCreatedSignaturesWithoutTemplate, see README for details - New parameter EmbedImagesInHTML, see README for details - Tags can now not only be used to allow access to a template, but also to deny access. Denies are available for time, group and e-mail based tags. See README for details. - Consider distribution group membership in addition to security group membership - Consider sIDHistory in searches across trusts and when comparing msExchMasterAccountSid, which adds support for scenarios in which a mailbox or a linked account has been migrated between Active Directory domains/forests - Show matching allow and deny tags for each mailbox-template-combination. This makes it easy to find out why a certain template is applied for a certain mailbox and why not. - Show which tags lead to a classification as time based, common, group based or e-mail address specific template - New FAQ: Why is membership in dynamic distribution groups and dynamic security groups not considered? - New FAQ: Why is no admin or user GUI available? ### Fixed - Don't throw an error when UseHTMTemplates is set to true and OOFIniFile is used, but there is no \*.htm file in OOFTemplatePath - Correct mapping of Graph businessPhones attribute, so the replacement variable \$CURRENT[...]TELEPHONE\$ is populated (<a href="https://github.com/GruberMarkus/Set-OutlookSignatures/issues/26" target="_blank">#26</a>) (Thanks <a href="https://github.com/vitorpereira" target="_blank">@vitorpereira</a>!) - Fix Outlook 2013 registry key handling and temporary folder handling in environments without Outlook or Outlook profile (<a href="https://github.com/GruberMarkus/Set-OutlookSignatures/issues/27" target="_blank">#27</a>) (Thanks <a href="https://github.com/Imaginos" target="_blank">@Imaginos</a>!) ### Changed - Cache group SIDs across all types of templates to reduce network load and increase script speed - Deprecate file name based tags. They work as-is, no new features will be added and support for file name based tags will be removed completely in the next months. Please switch to ini files, see README for details. - Update usage examples in script --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:31:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Set-OutlookSignatures-Set-OutlookSignatures#87
No description provided.