Since you more or less are never using cmd.exe any longer, why not go away from other classic toolsets you’ve been using forever?
In Windows 8 and Windows Server 2012 and later, you can use the cmdlet Get-NetIPConfiguration or the alias gip to get your ip addresses instead of using ipconfig. Good stuff! (and nicer output)