PowerShell for Windows Admins:

Windows Server 2012


January 7, 2015  2:27 PM

DHCP scope lease time

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
DHCP, Powershell, Windows Server 2012, Windows Server 2012 R2

I wanted to reduce the lease time on a DHCP scope $lt = New-TimeSpan -Hours 12 Set-DhcpServerv4Scope -ScopeId -LeaseDuration $lt You could even make it a one liner if you wished Set-DhcpServerv4Scope -ScopeId –LeaseDuration (New-TimeSpan -Hours 12)


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: