Hi,
There should be no differences and I don't reproduce the issue on my machine. You'd save the output in a varieble or write the output to a file with Out-File and check if the differences still exist.
Best Regards,
Ian
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, Team.
Do you happen to know the potential root cause below ?
phenomenon : the return from Add-AppxPakcgae doesn't contain UWP information the computer has.
see below more explicit scenario I'm saying.
When we did below command on Elevated Power Shell , we got the list installed app on the computer.
Get-AppxPackage |select name
<Result>
Microsoft.Windows.StartMenuExperienceHost
Microsoft.Windows.ShellExperienceHost
windows.immersivecontrolpanel
Microsoft.Windows.Cortana
Microsoft.AAD.BrokerPlugin
Microsoft.MicrosoftEdge
Microsoft.Windows.CloudExperienceHost
Microsoft.Windows.ContentDeliveryManager
Microsoft.Windows.Photos
Microsoft.UI.Xaml.2.1
Microsoft.UI.Xaml.2.1
Microsoft.NET.Native.Framework.2.2
Microsoft.NET.Native.Framework.2.2
Microsoft.NET.Native.Runtime.2.2
Microsoft.NET.Native.Runtime.2.2
Microsoft.VCLibs.140.00
Microsoft.VCLibs.140.00
above list doesn't contain the App computer has ( calculator in this case )
but the list will have the name as calc after below step.
when they did below command , the we got the return regarding calculator as below shown.
Get-AppxPackage -name calc ,
Name : Microsoft.WindowsCalculator
Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : X64
ResourceId :
Version : 10.1908.0.0
PackageFullName : Microsoft.WindowsCalculator_10.1908.0.0_x64__8wekyb3d8bbwe
InstallLocation : C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1908.0.0_x64__8wekyb3d8bbwe
IsFramework : False
PackageFamilyName : Microsoft.WindowsCalculator_8wekyb3d8bbwe
PublisherId : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
Dependencies : {Microsoft.UI.Xaml.2.2_2.21909.17002.0_x64__8wekyb3d8bbwe, Microsoft.VCLibs.140.00_14.0.27810.0_x64
__8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
after above , when we did below command , we got the list which contains the name as calc.
Microsoft.Windows.StartMenuExperienceHost
Microsoft.Windows.ShellExperienceHost
windows.immersivecontrolpanel
Microsoft.Windows.Cortana
Microsoft.AAD.BrokerPlugin
Microsoft.MicrosoftEdge
Microsoft.Windows.CloudExperienceHost
Microsoft.Windows.ContentDeliveryManager
Microsoft.Windows.Photos
Microsoft.UI.Xaml.2.1
Microsoft.UI.Xaml.2.1
Microsoft.NET.Native.Framework.2.2
Microsoft.NET.Native.Framework.2.2
Microsoft.NET.Native.Runtime.2.2
Microsoft.NET.Native.Runtime.2.2
Microsoft.VCLibs.140.00
Microsoft.VCLibs.140.00
Microsoft.WindowsCalculator
Microsoft.UI.Xaml.2.2
Microsoft.UI.Xaml.2.2
do you happen to know why this happen potentially ?
( one of thing what I can't understand is , It seems the list we got would be too less .
it seems like that the return hasn't finished correctly ... but don't know why ... )
could you give me your thought ?
equipment environment
Windows 10 Enterprise 1909 on Citrix
Hi,
There should be no differences and I don't reproduce the issue on my machine. You'd save the output in a varieble or write the output to a file with Out-File and check if the differences still exist.
Best Regards,
Ian