There is a folder in:
C:\Users\USERNAME\Documents\PowerShell\Scripts
I recall I’ve read somewhere this location is used as default to install scripts, same thing as PSModulePath but for scripts.
I’m having really hard time to figure out which environment variable is used to update this folder?
$env:Path += some_location, should work but I have some feeling this default location is to be used somehow else.
Anyway if I put some scripts into this location it’s not picked up by new session, so my real question here is what’s the purpose of this folder?