I want to check the default path for Powershell modules. Is there any command to do this?
Please help me through this.
Thank you.
CodePudding user response:
Yes, there is a command to check the dafault path for Powershell modules.
Use below command :
Get-content env:PSModulePath
CodePudding user response:
You can find it in : $env:PSModulePath
It's not in a powershell var, but in the process environment.