Get-AppxPackage : An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) At line:1 char:1 + Get-AppxPackage | Select Name, PackageFullName + ~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( : ) [Get-AppxPackage], BadImageFormatException + FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPac kageCommand
Looks like you typed the wrong command What do you want to receive and what command did you use? Do you want to receive the data of all installed packages distributed to one specific user or to all users? Maybe something like this Code: cd C:\ and click ENTER You'll get PS C:\Windows\system32> cd C:\ PS C:\> Now enter one of the following codes and click ENTER Get-AppxPackage or Get-AppxPackage -AllUsers or Get-AppxPackage -User "some username" or or if you want only some special data, then specify, for example Get-AppXPackage -AllUsers | Select Name, PackageFullName