Skip to content

Import Module fails when latest PSINI module is installed #2

Description

@FISHMANPET

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions