Getting started powershell
After installing powershell 1.0. The $profile will not be added.
The $profile is equivalent to .profile in ksh where it initialized when it started.
So, to add it. You need to specify permission first (like below), then, create the $profile. (you can echo $profile to see where the file resides in the windows)
Set-ExecutionPolicy RemoteSigned
new-item -path $profile -itemtype file -force
The $profile is equivalent to .profile in ksh where it initialized when it started.
So, to add it. You need to specify permission first (like below), then, create the $profile. (you can echo $profile to see where the file resides in the windows)
Set-ExecutionPolicy RemoteSigned
new-item -path $profile -itemtype file -force
Comments