Delete Aliases

by Jul 17, 2014

All PowerShell versions

While you can easily create new aliases with New-Alias or Set-Alias, there is no cmdlet to delete aliases.

PS> Set-Alias -Name devicemanager -Value devmgmt.msc

PS> devicemanager


To delete an alias, you would typically restart your PowerShell. Alternatively, you can delete them using the Alias: drive:

PS> del Alias:\devicemanager


Twitter This Tip! ReTweet this Tip!