* - Changed how WinGet installs and uninstalls are handled, by utilizing and .
* Update Winget Install and Uninstall / Add NuGet and Microsoft.Winget.Client Modules
- Fixed commands for installing and uninstalling programs through WinGet.
- Added NuGet Package Providers (thanks @Marterich)
- Added Microsoft.WinGet.Client Module (thanks @Marterich)
Write-Host"Manually adding Winget Sources, from Winget CDN."
Add-AppxPackage-Pathhttps://cdn.winget.microsoft.com/cache/source.msix#Seems some installs of Winget don't add the repo source, this should makes sure that it's installed every time.
Write-Host"Winget Installed"-ForegroundColorGreen
Write-Host"Enabling NuGet and Module..."
Install-PackageProvider-NameNuGet-Force
Install-Module-NameMicrosoft.WinGet.Client-Force
# Winget only needs a refresh of the environment variables to be used.