asheroto / winget-install

Install winget tool using PowerShell! Prerequisites automatically installed. Works on Windows 10/11 and Server 2019/2022.
https://bit.ly/winget-install
GNU General Public License v3.0
272 stars 33 forks source link

how to uninstall everything the .ps1 file installed #6

Closed tommycuier closed 1 year ago

asheroto commented 1 year ago

I believe you can just change

Add-AppxPackage to Remove-AppxPackage.

Same for Add-AppxProvisionedPackage change to Remove-AppxProvisionedPackage