Skip to content

the get-dhcpserverv4reservation command returns the reservation when query the specific client ID when the ID is only leased not reserved #56

@Michal-Ziemba

Description

@Michal-Ziemba

https://github.com/MicrosoftDocs/windows-powershell-docs/blob/master/docset/windows/dhcpserver/get-dhcpserverv4reservation.md

when use
Get-DhcpServerv4Reservation -ScopeId $ScopeId -ComputerName $DHCPServer -ClientId $ClientId
it returns the leased (not reserved) client IP if the ClientID exists and is active in the given scope
There is a workaround = collect all reservations for the given scope and search in the result against ClientID

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions