PowerTip: Find All PowerShell Profile Locations

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

Comments (2)

  1. Jaap Brasser says:

    And in a similar way, Select-Object * can also be used, while maintaining the objects: $Profile | Select-Object *

Skip to main content