Reputation: 309
I am trying to write a script that checks all ip addresses in DHCP scope, and gives me only the addresses that have a certain description, can anyone help me out with this.
Current code:
get-dhcpserverv4reservation | select -clientid - description
Upvotes: 0
Views: 267
Reputation: 17161
Get-DhcpServerv4Reservation |
Select-Object ClientID, Description |
Where-Object Description -eq "this description, here"
Upvotes: 1