Skip to content

Find-PSResource does not have any data in Include property for ContainerRegistry #1845

@adityapatwardhan

Description

@adityapatwardhan

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

When querying for packages, Find-PSResource is missing the data in the Includes property. The data is found when using PSGallery repository.

Expected behavior

PS> $a = Find-PSResource -Name az.compute -Repository MAR
PS> $a.Includes

Cmdlet         : {Add-AzImageDataDisk, Add-AzVhd, Add-AzVMAdditionalUnattendContent, Add-AzVMDataDisk…}
Command        : {Add-AzImageDataDisk, Add-AzVhd, Add-AzVMAdditionalUnattendContent, Add-AzVMDataDisk…}
DscResource    : {}
Function       :
RoleCapability :
Workflow       :

Actual behavior

PS> $a = Find-PSResource -Name az.compute -Repository MAR
PS> $a.Includes

Cmdlet         : {}
Command        : {}
DscResource    : {}
Function       : {}
RoleCapability : {}
Workflow       : {}

Error details

Environment data

PS> Get-Module microsoft.powershell.psresourceget; $PSVersionTable | Format-Table

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Binary     1.1.1                 Microsoft.PowerShell.PSResourceGet  {Compress-PSResource, Find-PSResource, Get-InstalledPSResource, Get-PSResourceRepository…}


Name                           Value
----                           -----
PSVersion                      7.5.2
PSEdition                      Core
GitCommitId                    7.5.2
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions