Why do I need three files just for a module?

I have a .ps1 file, a .psd1 file and a .psm1 file all for one simple module.

Why? Do I need these files? It really messes up with my tab to complete because the file names are the same

Where should I be putting these files? Where should powershell start in? This seems way more complicated than it needs to be. I just want to drop psm files in a folder and call it a day

Why do I need a .ps1 file in my powershell directory that just says import-module module.psm1, why doesn’t powershell just use the psm1 file that doesn’t make sense.

I just want to drop a psm1 file into a folder and call it a day

submitted by /u/PartyBumblebee
[link] [comments]

Leave a Reply