I think I need to load the Import-Module to import Get-AppxPackageedge which is not in my WindowsPowerShell in Windows 10 OS RRS feed

  • Question

  • The command in Windows Power Shell

    >Get-Appxpackage Get-Appxpackageedge All users returns no answers.

    Previously I had run from within powershell

    Import-Module **_getAppxpackageedge

    to which I received the response 

    Import-Module : The specified module '**_getappxpackageedge' was not loaded because no valid module file was found in my module directory
    At line:1 char:1

    + Import-Module **_getappxpackageedge
    + CategoryInfo          : ResourceUnavailable: (**_getappxpackage:String) [Import-Module], FileNotFoundException

    Can you please suggest a solution/correction of my typing to recover from this error

    Thank You -

    Thursday, August 13, 2020 8:01 PM

All replies

  • Are you trying to install or reinstall Edge? If so, try this from elevated/admin PS prompt:

    Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

    • Proposed as answer by Robotitude Saturday, September 12, 2020 8:51 PM
    Saturday, August 22, 2020 5:30 PM