PowerTip: Find PowerShell Profiles

Doctor Scripto

Summary: Learn how to easily find Windows PowerShell profiles.

Hey, Scripting Guy! Question How can I Question: You want to find the path to Windows PowerShell profiles?

Hey, Scripting Guy! Answer Use the $Profile automatic variable, but pipe the output to the Format-List cmdlet and use
           the –Force parameter. Here is an example that uses the FL alias for Format-List):

$profile | fl * -Force


Discussion is closed.

Feedback usabilla icon