You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Find-PsResource] Inconsistency when triggering a warning message and the actual contents of a registered repository #1379
No warning if a repository with Apiversion equal to 'V3' do not contains the requested module.
Actual behavior
A warning message is displayed when the repository implicitly concerned does not contain the requested module.
Error details
no error
Environment data
ModuleType Version Name ExportedCommands
-------------------------------------
Binary 0.5.24 Microsoft.PowerShell.PSResourceGet {Find-PSResource,Get-InstalledPSResource,Get-PSResourceR...
Key : PSVersion
Value : 5.1.19041.3031
Name : PSVersion
Key : PSEdition
Value : Desktop
Name : PSEdition
Key : PSCompatibleVersions
Value : {1.0,2.0,3.0,4.0,5.0,5.1.19041.3031}
Name : PSCompatibleVersions
Key : BuildVersion
Value : 10.0.19041.3031
Name : BuildVersion
Key : CLRVersion
Value : 4.0.30319.42000
Name : CLRVersion
Key : WSManStackVersion
Value : 3.0
Name : WSManStackVersion
Key : PSRemotingProtocolVersion
Value : 2.3
Name : PSRemotingProtocolVersion
Key : SerializationVersion
Value : 1.1.0.1
Name : SerializationVersion
Activity
LaurentDardenne commentedon Aug 23, 2023
Case where the content of the repository matches the error message:
SydneyhSmith commentedon Aug 28, 2023
Thanks Laurent Dardenne (@LaurentDardenne) good bug find!