Forum Discussion
niazstinu
Jan 10, 2021Brass Contributor
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...
- Jan 12, 2021
Hello niazstinu,
You did not specify Root module. Your line with RootModule = 'foo.psm1' is commented.
Hope that helps.
AndySvints
Jan 12, 2021Iron Contributor
Hello niazstinu,
You did not specify Root module. Your line with RootModule = 'foo.psm1' is commented.
Hope that helps.
- niazstinuJan 18, 2021Brass Contributor
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
I read the PSD1 line by line and I dont know how I miss this
not good to code for more than 24 hour 🙂
Thanks