Skip to content

Importing modules by name is case sensitive #1621

@jdhitsolutions

Description

@jdhitsolutions

Steps to reproduce

Start a PowerShell session.
Remove-Module PSReadline
Import-Module PSReadline

Expected behavior

Expect to be able to re-import PSReadline. This works with other modules.

Actual behavior

Error reporting module can't be found.

psreadlineerror

## Environment data
> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.10032.0
PSEdition                      PowerShellCore
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   3.0.0.0
GitCommitId                    v6.0.0-alpha.7
CLRVersion
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Metadata

Metadata

Assignees

Labels

Resolution-FixedThe issue is fixed.WG-DevEx-Portabilityauthoring cross-platform or cross-architecture modules, cmdlets, and scripts

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions