PowerTip: See if You Have a PowerShell Profile

Doctor Scripto

Dr Scripto

Summary: Easily determine if you have a Windows PowerShell profile.

Hey, Scripting Guy! Question I am not sure if I have a Windows PowerShell profile. How can I easily find out?

Hey, Scripting Guy! Answer Use Test-Path and the $profile automatic variable:

Test-Path $PROFILE

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment