I have 3 powershell scripts that I created. Now, I want to deploy them to a common server to which various users will have access(using powershell web access) and they can issue cmdlets that I created.
Initially I thought, it would be a pretty simple process. But may be I was wrong or may be I am missing something.
To create a Script module, I copied all my scripts into a single psm1 file.
Next step was how to make sure this is registered. I followed below post to register the module file.
But for some reason I am still not able to see my cmdlets in new session. Are there any clear steps i can follow or what is it i am not doing correctly.
Again, i was not able to edit the PSModulePath using the script in above link so i edited the env variable manually and added my module path. Still i dont see my cmdlets. Please help!
Thanks for the anticipation in advance.