This is a great tool for task that many have used over the years for similar tasks: https://msendpointmgr.com/2017/02/23/configmgr-content-source-update-tool-version-1-0-2-released/
The tool uses the supported PowerShell cmdlets so while we don't support the tool itself, it does use supported methods.
On a semantic note, source content locations are completely unrelated to distribution points. You may have them co-located, but that's a configuration choice that you've made and there is no technical connection.