Options for upgrading Windows 10 machines

Options

Windows 10, latest version 20h2, running Teamviewer 10. What's the easiest safe way to upgrade many machines once? Is it an option in the Teamviewer website or my Teamviewer account list, not connecting individually and upgrading each one by one in the individual machine connection settings?

Does a script work to upgrade Windows 10 machines en masse? How would I find my custom config ID and API token? Is it safe to put those in a basic text script? If not, upgrading individually is fine is security is upheld that way.