Windows 10 Adding a path doesn't make any difference to finding powershell scripts

  • Thread starter Thread starter BlackJacques
  • Start date Start date
B

BlackJacques

I've created a Powershell script folder in a certain place, and I'm trying to make it part of my PSModulePath. I've added this to $PROFILE file and also tried this on the command-line but none of the scripts in this folder get seen, unless I explicitly put the full pathname in for them. $env:PSModulePath += ';G:\PIX\Powershell scripts'So what's going wrong here? I've also tried double quotes instead of single quotes. Also tried it with or without the ending backslash.

Continue reading...
 
Back
Top