New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
appx is not supported in powershell 7 platform(0x80131539). #472
Comments
Hm... let me check. I import the appropriate module for PS 7. |
Also do you have the error screenshot? |
I got it and found out that accidently removed 2 strings. Please wait. |
sure. thanks a lot. you are the best 👍 : ) |
Fixed. Just replaced the whole module with a new one: https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Steps to reproduce
AppxPackage module is not working with powershell 7.3.3
but AppxPackage module was compatible with default poweshell with windows 10.
Sophia script couldnot remove apps like onenote, spotify, cortana, alarm, phone,xbox, etc.
Sophia script cannot be used with older powershell to use AppxPackage module.
Work around : had to remove app individually using powershell 5 that was default in windows 10 (run as Admin):
For example for windows alarm app :
check using :
Get-AppxPackage -allusers *WindowsAlarm*
and then pipe it with
Remove-AppxPackage
like this :Get-AppxPackage -allusers *windowsalarm* | Remove-AppxPackage
Windows Version
Windows 10 22H2 (OS built 19045.2788)
Sophia Script version
Sophia Script for Windows 10 PowerShell-7-V 5.16.3
The text was updated successfully, but these errors were encountered: