Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Module fails when latest PSINI module is installed #2

Open
FISHMANPET opened this issue Jan 29, 2019 · 1 comment
Open

Import Module fails when latest PSINI module is installed #2

FISHMANPET opened this issue Jan 29, 2019 · 1 comment

Comments

@FISHMANPET
Copy link

The code to install PSINI installs the latest version (as of right now 2.0.7) but your import-module command requires a specific version, 2.0.5. Because version 2.07 is what's installed, the import command will fail.

If there's a specific requirement for 2.0.5, the install command should install 2.05. If the requirement is for 2.0.5 or above, the import module should use the -MinimumVersion option instead of -RequiredVersion

Import-Module PsIni -ErrorAction Stop -WarningAction Stop -RequiredVersion 2.0.5

@FISHMANPET
Copy link
Author

should be fixed in #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant