Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there a list of all the commands they alias?

What is the filename of the profile jpsnover is referring to with the work around of adding:

  Remove-Item Alias:Curl
  Remove-Item Alias:WGet


The `Alias:` listed is a virtual path provider. So just run:

    Get-ChildItem Alias:
For the profile path, it's stored under the variable `$profile`.


get-alias will list all the aliases on your system.

The profile is here (at least in Windows 10, it might be in a different location in other versions): C:\Users\username\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1


$profile already points to it.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: