Skip to content

Find-PSResource does not accept pipeline input #666

@ThomasNieto

Description

@ThomasNieto

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

I should be able to take the output from Get-PSResource and pipe that to `Find-PSResource in order to find out what versions are on the repository.

Get-PSResource operationvalidation | Find-PSResource

This is can be resolved by adding ValueFromPipelineByPropertyName to Name and Repository parameters.

Expected behavior

Get-PSResource operationvalidation | Find-PSResource

Name                Version Prerelease Repository Description
----                ------- ---------- ---------- -----------
OperationValidation 1.2.1.0            PSGallery  A set of tools for executing validation of the operation of a system. It provides a way to organize and ex…

Actual behavior

No resources are returned

Error details

No response

Environment data

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Binary     3.0.12     beta       PowerShellGet                       {Find-PSResource, Get-PSResource, Get-PSResourceRepository, Install-PSResource…}

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

Visuals

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions