Set Powershell Aliases for cross environment development

less than 1 minute read

You can check where the powershell profile is by doing $profile.

PS C:\> $profile

Open or create the profile file by doing code $profile.

Set-Alias -Name ll -Value Get-ChildItem
Set-Alias -Name open -Value explorer

Then I can use ll and open instead of dir and explorer.