Is there a Windows 10 PowerShell equivalent to .bashrc for Linux Bash? Is there a Windows 10 PowerShell equivalent to .bashrc for Linux Bash? powershell powershell

Is there a Windows 10 PowerShell equivalent to .bashrc for Linux Bash?


As pointed out by Dai in the comment section, Powershell Profiles sound like the closest equivalent to the .bashrc file.

A PowerShell profile is a script that runs when PowerShell starts. You can use the profile as a logon script to customize the environment. You can add commands, aliases, functions, variables, snap-ins, modules, and PowerShell drives. You can also add other session-specific elements to your profile so they are available in every session without having to import or re-create them.