PowerTip: List DHCP Server Clients with PowerShell

Doctor Scripto

Summary: Use the DHCP server cmdlets in Windows Server 2012 R2 to show current clients.

Hey, Scripting Guy! Question How can I use Windows PowerShell to show my current DHCP server clients?

Hey, Scripting Guy! Answer Use the Get-DHCPServerv4scope and Get-DHCPServerv4Lease cmdlets piped together:

Get-DHCPServerv4scope | Get-DHCPServerv4Lease 

0 comments

Discussion is closed.

Feedback usabilla icon