PSResourceGet icon indicating copy to clipboard operation
PSResourceGet copied to clipboard

Find-PSResource: Searching for a CommandName or DSCResourceName returns an object with an unexpanded ParentResource member

Open SydneyhSmith opened this issue 3 years ago • 0 comments

Summary of the new feature / enhancement

Searching for a CommandName or DSCResourceName returns an object with an unexpanded ParentResource member

PS> Find-PSResource -CommandName Get-TargetResource -ModuleName SystemLocaleDsc

Name ParentResource


Get-TargetResource Microsoft.PowerShell.PowerShellGet.UtilClasses.PSResourceInfo

PS> Find-PSResource -CommandName Get-TargetResource -ModuleName SystemLocaleDsc | Select-Object -ExpandProperty ParentResource

Name Version Prerelease Repository Description


SystemLocaleDsc 1.2.0.0 PSGallery This DSC Resource allows configuration of the Windows System Locale.

Proposed technical implementation details (optional)

No response

SydneyhSmith avatar Aug 15 '22 15:08 SydneyhSmith