Permanent aliases in PowerShell with parameters! @itvraag
Permanent aliases in PowerShell with parameters!  @itvraag
Uploaded February 2022 | Updated November 2026, 4 days ago
In this video we'll go through how to search, add, edit or remove aliases in PowerShell, but also make them permanent by editing the PowerShell profile. We also cover assigning commands with parameters using functions inside the PowerShell profile and assign it to an alias. This will greatly help you quickly run long commands which you need to run often.
#powershell #terminal #windows11 #productivity
https://itvraag.nl

Timestamp:
0:00 Intro
0:20 alias intro
0:38 list aliases
0:49 search for an alias
1:35 add alias
2:08 create permanent alias with PowerShell profile
3:06 check availability of an alias
4:02 adding commands with parameters to aliases
4:17 example of function to alias
4:31 export alias list to csv file
4:44 import alias csv file
5:05 remove an alias
5:20 echo into alias

Relevant videos:
Windows Terminal PRO tips: youtu.be/0NBYBOGalO4
Bash #2 - aliases: youtu.be/cyi6imc5ruY

Used commands:
alias
alias | findstr -i ls
get-alias -Name ls
Get-Alias -Definition Get-ChildItem
New-Alias -Name list -Value Get-ChildItem
alias | findstr -i list
New-Item $profile -force -itemtype file
alias | findstr -i echo
start $profile
notepad $profile
new-alias -name np -value notepad
Function FunctionName {long-command-with-parameters}
Set-Alias -Name AliasName -Value FunctionName
Export-Alias -Path "alias.csv"
Import-Alias alias.csv
Remove-Alias -Name np
Del alias:np
Permanent aliases in PowerShell with parameters!Apple ID Account - None Payment Method (No Credit Card)Puppet #2 - Installing Puppet server in Vagrant VM (CentOS8)Easiest way to stream media file from NAS/Network to Android TV/MobileMaximize productivity in Linux terminal!HTC One X - Hard Reset (Two Ways)Fixing Android Device Manager (No Device Found)Galaxy S6 - Hard Reset With Button ComboRe-install Windows 10 quick and easyXPrivacy - Managing Android App PermissionsWindows 7: Enable Num Lock By DefaultVagrant #6 - In Windows 11 with Hyper-V
itvraag |

Permanent aliases in PowerShell with parameters!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER