While troubleshooting a Password Hash Sync issue with a customer, I found myself needing to trigger a full password hash sync for various connectors. Password Hash Sync is a separate process from the AADSync process. It’s not a difficult process, but becomes time consuming (especially if you have a lot of connectors from which to choose).
The syntax for specifying source and target connectors is case-sensitive, which can cause additional frustration. Hopefully, this script will help address both of those problems. This script is intended to be run from the AADSync or AADConnect server.
Download and save to the AADConnect server. When you run it, it will display a menu of source and target connectors, so you can be sure of what you’re selecting.