PowerShell / DSC

This repo is for the DSC v3 project
MIT License
142 stars 22 forks source link

wildcard search for resource no longer works #300

Closed SteveL-MSFT closed 5 months ago

SteveL-MSFT commented 5 months ago

Prerequisites

Steps to reproduce

dsc resource list osinfo

Expected behavior

return Microsoft/OSInfo resource

Actual behavior

nothing returned, no error

Error details

No response

Environment data

alpha.4

Version

alpha.4

Visuals

No response

anmenaga commented 5 months ago

@SteveL-MSFT If asterisk is used - it works:

PS C:\DSCv3> dsc resource list *osinfo

Type              Version  Requires  Description
------------------------------------------------------------------------------------
Microsoft/OSInfo  0.1.0              Returns information about the operating system.
PS C:\DSCv3> dsc resource list *osinfo*

Type              Version  Requires  Description
------------------------------------------------------------------------------------
Microsoft/OSInfo  0.1.0              Returns information about the operating system.
SteveL-MSFT commented 5 months ago

@anmenaga ok, that makes sense, maybe I misremembered whether asterisk was needed to be explicit