PowerShell for Windows Admins:

DHCP


May 26, 2016  1:15 PM

DHCP scope

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
DHCP

After rebuilding my test machine for Server 2016 (with mixed results) I needed to add a DHCP scope to the environment. I blogged about the DHCP PowerShell module several years ago. To quickly add a DHCP scope to the current server Add-DhcpServerv4Scope -Name 'Manticore Scope' ...

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 10.10.54.0 -LeaseDuration $lt You could even make it a one liner if you wished Set-DhcpServerv4Scope -ScopeId 10.10.54.0 –LeaseDuration (New-TimeSpan -Hours 12)


September 7, 2014  5:42 AM

Authorising a DHCP server and creating a scope

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
DHCP, Windows 2012

I recently re-built my test lab and now need to authorise the DHCP server. You can test the DHCP server: £> Get-DhcpServerSetting IsDomainJoined            : True IsAuthorized              : False DynamicBootp              :...


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: