May 24th, 2014

PowerTip: See if You Have a PowerShell Profile

Doctor Scripto
Scripter

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

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.