July 19th, 2014

PowerTip: Find All PowerShell Profile Locations

Doctor Scripto
Scripter

Summary: Use the hidden properties of $profile to find Windows PowerShell profile locations.

Hey, Scripting Guy! Question How can I find the path to Windows PowerShell profile locations on my computer?

Hey, Scripting Guy! Answer Use the –Force parameter from Format-List to display the hidden properties and values:

$PROFILE | Format-List -Force

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.