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

Comments

Popular posts from this blog

Outlook : "operation failed, object could not be found. " when trying to close a PST.

How to transfer app and data from old iPhone to new iPhone for model IOS17 and IOS18 above.

Troubleshooting Outlook Express (IMAP, POP3, HTTP, NEWS) with the log file