How to install (unofficial) Choco Package List Backup to Local and Cloud (Script + Task)
https://chocolatey.org/packages/choco-package-list-backup Back up and restore Chocolatey packages. Run the below from PowerShell if you are using OneDrive- CINST {where ever you installed OneDrive}\ChocolateyPackageListBackup\{system it was backed up to}\PACKAGES.CONFIG -Y