by thebilgerat at 2012-11-21 13:06:23
Hi!by DonJ at 2012-11-21 13:11:07
I am looking for a concise explanation on where custom scripts “go” so that powershell can access them.
For example, the poshcode script.
If you’re referring to a module, look at the PSModulePath environment variable. So, usually, if you have a module named PoshCode it would go in:
But check the environment variable to ensure Documents\WindowsPowerShell\Modules is listed.
It’s important that the module folder name and filename match. This is also accessible in PowerShell’s help files on modules and script modules.