Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 1.01 KB

File metadata and controls

16 lines (8 loc) · 1.01 KB

PowerShell Profile

Your PowerShell Profile is a .ps1 file that is executed on each shell session start. It's a bit like .bashrc file on Linux.

It can be used for adding custom commands and aliases.

Because it is run each shell session start, it should be quick to run.

See Microsoft Learn | About Profiles

To edit a profile: Microsoft Learn | Edit Profile

The path to where PowerShell looks for your profile is $PROFILE - note, this file may not exist yet, in which case, you can create it: Microsoft Learn | Create Profile

My profile file is in profile, which is symlinked from my $PROFILE folder