Skip to content
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

Closed
6 tasks done
ZilchBloke opened this issue Apr 1, 2023 · 6 comments
Closed
6 tasks done

appx is not supported in powershell 7 platform(0x80131539). #472

ZilchBloke opened this issue Apr 1, 2023 · 6 comments

Comments

@ZilchBloke
Copy link

Prerequisites

  • Verify that this is not a Windows issue;
  • Refer to the system requirements;
  • Refer to the How to use;
  • I do not use a homebrew Windows image;
  • I did not tweak Windows before that could cause system instability;
  • If your issue concerns the Wrapper, please mention @BenchTweakGaming in issue

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

@farag2
Copy link
Owner

farag2 commented Apr 1, 2023

Hm... let me check. I import the appropriate module for PS 7.

@farag2
Copy link
Owner

farag2 commented Apr 1, 2023

Also do you have the error screenshot?

@ZilchBloke
Copy link
Author

image

@farag2
Copy link
Owner

farag2 commented Apr 1, 2023

I got it and found out that accidently removed 2 strings. Please wait.

@ZilchBloke
Copy link
Author

sure. thanks a lot. you are the best 👍 : )

farag2 added a commit that referenced this issue Apr 1, 2023
@farag2
Copy link
Owner

farag2 commented Apr 1, 2023

@farag2 farag2 closed this as completed Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants