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

PowerTip: Use PowerShell to Check DHCP Status

$
0
0

Summary: Use Windows PowerShell to check on DHCP status.

Hey, Scripting Guy! Question How can I use Windows PowerShell to check on my DHCP status?

Hey, Scripting Guy! Answer Use the Get-Service cmdlet and search for services that have DHCP in the name. You can do this remotely if the firewall has exceptions and if you have rights.

PS C:\> gsv -Name *dhcp* -ComputerName wds1

 

Status  Name        DisplayName

------  ----        -----------

Running Dhcp        DHCP Client

Running DHCPServer     DHCP Server

 


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>