exactly. $profile variable always refers to your profile file, that is:
WBR, Vadims Podans
PowerShell blog - www.sysadmins.lv
>> your own profile you can create using this code:
>> new-item -itemtype file -path $profile -force
>> "James Gentile" <l0ngr1fl3@xxxxxx> rakstija zinojuma
>>> I just upgraded to Windows 7, it's nice, but I can't figure out where
>>> to put my profile.ps1, does anyone know? Thanks.