I'm working on powershell, i'm working on modules as i'd like to have my code cleany wrote in modules.
So far i know how to list the available modules, and lucky me : my module is visible in that list that point to the "program files/windowPowerShell/Modules folder".
So my .psm1 file and my psd1 files are correct and in a folder having the same name.
So then i can import it with "Import-module -Name <modulename>"
On "Get-Module -ListAvalaible" The column with ExportedCommands is empty for my module.
then i can not launch my cmdlets or functions, they dont exist in the session.
My Questions :
- how to check the problem i dont know what to do in order to have more infos ?
- is the code ? is the module ? .....
Get-Command -Module mymodule <- gives me no output as if my module has no functions.
Thanks for your help.