Get-Module Incorrectly Populates FileList with LOCAL files! - by Joel 'Jaykul' Bennett

Status : 

 


5
0
Sign in
to vote
ID 802030 Comments
Status Active Workarounds
Type Bug Repros 2
Opened 9/23/2013 10:41:36 PM
Access Restriction Public

Description

When you use Get-Module, if there are files named the same as the ones in the FileList in your current directory ($PWD), they will be added to the ModuleInfo.FileList instead of the ones in the actual module!

Note: this does NOT happen if there are not files with the same names in the local directory (those files will show up in the FileList with the right paths).
Sign in to post a comment.