Closed o-l-a-v closed 7 months ago
Thanks @o-l-a-v! I will note this in the breaking changes section. Note if you want the latest versions of modules, that's what -Update
is for, it ignores existing modules for purposes of dependency resolution.
For only considering the destination folder for evaluation, I will add a -DestinationOnly
parameter that will disregard other potential module folders in the psmodulepath.
I expect the
-Destination
parameter inInstall-ModuleFast
to don't care about modules installed elsewhere. This is a breaking change with rc1 vs. earlier versions, I think.Either change the default behavior, or add a parameter
-IgnoreExistingModules
or something like that.Reproduce
Prerequirement
%LOCALAPPDATA%\Microsoft\PowerShell\Modules
, and add same path to user context env variable PSModulePath.%TEMP%\Modules
is still empty.Input
Output