Giter Site home page Giter Site logo

teltec / outlook-signature-autoconfig Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 9.0 120 KB

Auto-generate and auto-configure Outlook signatures for your AD/LDAP users.

License: MIT License

HTML 9.24% Visual Basic 90.76%
outlook microsoft-outlook signature email-signature activedirectory ldap autoconfiguration gpo

outlook-signature-autoconfig's Introduction

Outlook Signature Autoconfig

Auto-generate and auto-configure Outlook signatures for your AD/LDAP users.

How to use?

Generate (generate-signature.vbs)

Run manually once for every relevant change in your AD. This will fetch all user info from AD, and generate signature file(s) (.htm) for each one of them, depending on which signature groups (CN=assinaturas-ANYTHING) they are associated with. The source directory (for templates) and target directory (for generated files) can be adjusted in app_config.vbs.

Auto-configure (outlook-signature-autoconfig.vbs)

Run manually or via GPO. This will copy the user generated signature file(s) from the specified remote directory to a local directory created inside the user roaming directory (e.g.: C:\Users\johndoe\Appdata\Roaming\TeltecSolutions\). After that, it will update the default path for Outlook signature files, and set the default Outlook signature file to one of those that were copied. If it's already set to one of them, it will not change it.

Features

  • Decides which template to use based on the AD groups the user belongs to (signature groups);
  • Allow a user to be part of multiple signature groups. In this case, the user will have multiple signature files, and the default signature will be kept intact if it's present in the remote signature folder, otherwise one of those will be chosen (normally the last one by alphabetical order).
  • Handles users that belong to no signature groups;
  • Validates template file existence;
  • Log all errors to stderr when running on console (e.g.: via cscript, not wscript);

Notes

  • It's important to specify \\host\path instead of X:\path if you're running outlook-signature-autoconfig.vbs via GPO during user login. This is because X: is a network mapped unit that may be mapped via GPO, so it might not yet be mounted when our script runs;

Screenshot (example template)

Example Template

outlook-signature-autoconfig's People

Contributors

jweyrich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.