PowerTip: Easily Find the Location of Current User Profile

Doctor Scripto

Dr Scripto

Summary: Easily find the location of the Windows PowerShell current user current host profile.

Hey, Scripting Guy! Question  How can I find the location of the current Windows PowerShell profile for your current host?

Hey, Scripting Guy! Answer  Use the $profile automatic variable, as shown here:

13:25 C:\> $profile



Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   


Leave a comment