Summary: Use the hidden properties of $profile to find Windows PowerShell profile locations.
How can I find the path to Windows PowerShell profile locations on my computer?
Use the –Force parameter from Format-List to display the hidden properties and values:
$PROFILE | Format-List -Force