PowerTip: Determine If You Have PowerShell Profile

Summary: Learn how to determine if you have a local Windows PowerShell profile. 

    How can I find if I have a Windows PowerShell profile?

           Use the Test-Path cmdlet, and check for the existence of $profile, for example:

test-path $PROFILE

Comments (2)

  1. ClairmontAle says:

    What about the other profiles?
    $profile | gm |?{$_.MemberType -eq "NoteProperty"} | %{test-path $Profile."$($_.Name)"}

Skip to main content