It would be great if PSADT had a function for installing\uninstalling Winget packages. Something like
Install-WingetPackage -AppID 7zip.7zip
and
Uninstall-WingetPackage -AppID 7zip.7zip
The function would have to do a couple things. One, make sure that Winget is installed, and if not install it. Then it would have to resolve the winget.exe path, and launch winget from there. There could also be parameters for silent install, accept package agreements etc.