
Like ~/.bashrc for bash, a Powershell profile allows you to load aliases or functions when you open a new terminal.
Table of contents
Open Table of contents
Create a $Profile without Admin Privileges
- Create a profile file if it does not exist:
New-Item -Path $Profile -ItemType "file"
- (Windows only) Set ExecutionPolicy to allow local scripts:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
- (Optional) Edit your profile with
Start notepad $Profileand add your customizations. For example, display system info or ASCII art on launch:

