Manually load script module manifest when importing from outside PSModulePath. Tagged: script moduleThis topic contains 2 replies, has 2 voices, and was last updated by Trevor Freedland 3 months ago.Viewing 3 posts - 1 through 3 (of 3 total)Author PostsJune 23, 2016 at 12:20 am #44479 Trevor FreedlandParticipantAs I understand it, when importing a script module from a directory that is not included in $ENV:PSModulePath, the module manifest is bypassed. Is there a way I can Import-Module C:\temp\foo\foo.psm1 without ignoring C:\temp\foo\foo.psd1?June 23, 2016 at 12:30 am #44485 Dave WyattModeratorIf you give Import-Module a full path to the psm1 file, then that's what gets imported. If you give it a path to a folder, then it'll search with the usual order (psd1 first). Import-Module C:\temp\foo June 23, 2016 at 1:07 am #44487 Trevor FreedlandParticipantThanks Dave!Author PostsViewing 3 posts - 1 through 3 (of 3 total)You must be logged in to reply to this topic.