Skip to main content

One post tagged with "Powershell"

PowerShell scripting tutorials and automation solutions

View All Tags

Finding dead DHCP scopes

· 2 min read
Simon Painter
Cloud Network Architect

I am working on a DHCP migration and it turns out that the people who managed the DHCP server previously weren’t that great at cleaning up old scopes when sites were closed. It’s next to impossible to identify from the number of leases because some of the live sites are only rarely used so I thought I’d knock up a little script to ping the default gateway to see if the subnet is still there.