PowerTip: Find All PowerShell Profile Locations

Doctor Scripto

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


Discussion is closed.

Feedback usabilla icon