Please feel free to provide feedback or file bugs here.

Get-AppxPackage not accepting pipeline input

The Get-AppxPackage command does not appear to accept pipeline input.

These work:

Get-AppxPackage -Name "9E2F88E3.Twitter"
Get-AppxPackage "9E2F88E3.Twitter"
"9E2F88E3.Twitter" | Foreach { Get-AppxPackage $_ }

These do not work and return nothing at all:

"9E2F88E3.Twitter" | Get-AppxPackage
"9E2F88E3.Twitter" | Select @{ Name="Name"; Expression={$_} } | Get-AppxPackage

Using the -Verbose parameter simply gives:

VERBOSE: No packages found.

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Paul BroadwithPaul Broadwith shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Paul BroadwithPaul Broadwith commented  ·   ·  Flag as inappropriate

        Occuring in two separate computers - $psversiontable output:

        PC1:

        PSVersion 5.0.10586.672
        PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
        BuildVersion 10.0.10586.672
        CLRVersion 4.0.30319.42000
        WSManStackVersion 3.0
        PSRemotingProtocolVersion 2.3
        SerializationVersion 1.1.0.1

        PC 2:

        Name Value
        ---- -----
        PSVersion 5.1.14393.693
        PSEdition Desktop
        PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
        BuildVersion 10.0.14393.693
        CLRVersion 4.0.30319.42000
        WSManStackVersion 3.0
        PSRemotingProtocolVersion 2.3
        SerializationVersion 1.1.0.1

        Both are running v2.0.0.0 of the Appx module.

      Feedback and Knowledge Base