logoalt Hacker News

thewebguydyesterday at 5:30 PM1 replyview on HN

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.


Replies

Havoctoday at 12:28 AM

Thanks. Wasn’t aware of gip