logoalt Hacker News

Havocyesterday at 5:19 PM2 repliesview on HN

Nice. I appreciate the effort to make things less painful for powerusers. I had noticed some of these working already in PS.

If anyone from MS is reading this can we please also get an equivalents (or even alias) for the thing that shows IP address? The windows equivalent of "ip a" is some convoluted PS command that I can never remember


Replies

thewebguydyesterday at 5:30 PM

in PowerShell there is a built-in alias.

> gip

You could also make your own alias if you specifically want to type "ip a" just add a powershell function to your $PROFILE. function ip { param($argument)...." etc. have it call Get-NetIPAddress, else fallback to ipconfig.

show 1 reply
NetMageSCWyesterday at 5:47 PM

ipconfig works pretty well.