The code for Powershell_Modules.txt is: Powershell 7 Modules: C:\Program Files\PowerShell\7\Modules C:\Program Files\PowerShell\7-preview\Modules $env:PSModulePath: C:\Users\Jim Martinson\Documents\PowerShell\Modules C:\Program Files\PowerShell\Modules c:\program files\powershell\7\Modules C:\Program Files\WindowsPowerShell\Modules C:\Windows\system32\WindowsPowerShell\v1.0\Modules Windows Powershell Modules (v 5.1): C:\Program Files\WindowsPowerShell\Modules C:\Program Files (x86)\WindowsPowerShell\Modules C:\Windows\System32\WindowsPowerShell\v1.0\Modules C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules $env:PSModulePath: C:\Users\Jim Martinson\Documents\WindowsPowerShell\Modules C:\Program Files\WindowsPowerShell\Modules C:\Windows\system32\WindowsPowerShell\v1.0\Modules Get Module path: (Get-Module -ListAvailable module_name).path PSReadLine: (Get-Module -ListAvailable PSReadLine).path