Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Display DHCP Addresses

$
0
0

Summary: Use Windows PowerShell to display DHCP addresses in Windows 8.

Hey, Scripting Guy! Question How can I use Windows PowerShell on my computer running Windows 8 to find IPV4 addresses
          that are supplied by DHCP?

Hey, Scripting Guy! Answer Use the Get-NetIPAddress function, and specify that the prefix origin is DHCP.
          You can also specify that the address is IPV4, and use other options to help identify what you seek,
          for example:

Get-NetIPAddress -AddressState preferred -AddressFamily ipv4 -Type unicast -PrefixOrigin dhcp


Viewing all articles
Browse latest Browse all 3333

Trending Articles