Here is another short script you can use on your way to automate every task in your ConfigMgr environment.
Syncing the SUP in ConfigMgr 2012
Synchronizing the Software Update Point in a ConfigMgr environment can happen in two ways – automatically or manually.
This can be configured in your site component’s configuration:
In there you can configure the SUP to synchronize on a schedule or not. If you don’t use a schedule,