April 29th, 2015

PowerTip: Find PowerShell Profiles

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.