15 Aug Contact Adder – Part 2
This month we would like to present you the promised version 2 of ContactAdder. What the ContactAdder is all about, you can read in part 1.
Problem
In this release, we wanted to automate the execution of the script and simplify the installation and updates for our employees. We also wanted to extend logging to provide support in the event of an error.
Our solution
We solved the automatic execution via a Scheduled Task. This is created by our setup script and configured to run the script every day at 9am.

The setup script has also implemented an update routine to update the task when the ContactAdder script is changed or to reset it to the default values defined in the setup routine. To install (or update) ContactAdder simply place both scripts in the same directory and start the setup script 😊
The actual script was supplemented at the relevant places by logging code, which can be switched on or off via a variable ($debuggingon to $true or $false). The code creates a separate logfile for each run in a subfolder. In order not to increase the number of logfiles excessively, only the 5 most recent logfiles plus the currently written logfile are kept (from ContactAdder as well as from the setup script). The number of logfiles to be stored can be adjusted to your needs by the variable $keeplatestlogcount.
The script
You can find the script in our repository Repository. It is licensed under the MIT license.
Thanks
We would like to take this opportunity once again to thank some of the authors whose work and information we used during the development:
http://jamilpremji.com/post/157169397930/using-powershell-to-get-your-global-address-list [not available anymore at the time of the writing]
https://github.com/ITMicaH/Powershell-functions/tree/master/Office/Outlook
Source: freepik.com
LATEST POSTS
-
“Logging In Instead of Breaking In”: Why Your Identities Are the Biggest Security Risk
Attackers no longer “simply” break in, they LOG in. If you’re still relying on traditional defenses in 2026, we believe you’ve probably already lost the battle for your data....
01 April, 2026 -
BSI Update: Grundschutz++ Will Become Mandatory in 2028 – Why You Should Take Action Now
The wait is over: The BSI has published the first guidelines for Grundschutz++. What at first glance looks like additional bureaucratic red tape is, in fact, the new “state of the art” for NIS2. ...
29 April, 2026 -
Bye-bye RC4: Your guide to the Kerberos transition in April 2026
The clock is ticking for one of the longest-lasting (and most insecure) ciphers in our networks. Microsoft is getting serious and pushing for the shutdown of RC4 encryption in the Kerberos protocol....
29 January, 2026

























