PowerTip: Use PowerShell to Get IP Addresses

Summary: Use Windows PowerShell to retrieve IP addresses.

Hey, Scripting Guy! Question Is there a way to use Windows PowerShell to check IP addresses without use IPconfig?

Hey, Scripting Guy! Answer In Windows Server 2012 R2, use the new Get-NetIPAddress cmdlet:


If you like the output in a table, use:

Get-NetIPAddress | Format-Table