Closed ThomasNieto closed 1 year ago
I'm not sure why but I can't reproduce this anymore.
Install-Package -Name Docker.DockerDesktop -PassThru -Verbose
VERBOSE: Performing the operation "Install-Package" on target "Docker.DockerDesktop".
VERBOSE: Installing 'Docker.DockerDesktop' package.
VERBOSE: Calling 'Chocolatey' provider.
VERBOSE: Calling 'PowerShellGet' provider.
VERBOSE: Calling 'Scoop' provider.
VERBOSE: Calling 'WinGet' provider.
Install-Package: Package not found. (Package 'Docker.DockerDesktop')
No error should be written by the provider when a package is not found.
Add
-ErrorAction Ignore
to Find-PSResource calls.