PowerTip: Find All PowerShell Profile Locations

PowerTip: Find All PowerShell Profile Locations

  • Comments 3
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • And in a similar way, Select-Object * can also be used, while maintaining the objects: $Profile | Select-Object *

  • thank you