Reputation: 51
We use reservations starting from the end of our DHCP scopes for printers.
Get-DHCPServerv4FreeIpAddress starts from the beginning. Is there anyway to make it start from the end to the beginning?
Upvotes: 1
Views: 1275
Reputation: 23355
If you know how large the scope is (and how many addresses were already used) you could potentially do this (for example if the scope is 253 addresses):
Get-DHCPServerv4FreeIpAddress -numaddresses 253 | Select -Last 1
Upvotes: 1