PowerTip: Use PowerShell to Get IP Addresses

Doctor Scripto

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:

Get-NetIPAddress

If you like the output in a table, use:

Get-NetIPAddress | Format-Table

0 comments

Discussion is closed.

Feedback usabilla icon