Forum Discussion

niazstinu's avatar
niazstinu
Brass Contributor
Jan 10, 2021
Solved

Import-Module dont import any command from my module

Hi, I wrote a PSmodule foo.psm1, foo.psd1, the .PSM1 contain some function used. the PSD1 Config are shown below, the problem is when I run import-module foo, non of the function being imported an...
  • AndySvints's avatar
    Jan 12, 2021

    Hello niazstinu,

    You did not specify Root module. Your line with RootModule = 'foo.psm1' is commented.

    Hope that helps.

Resources