How to export dhcp reservation via powershell

preview_player
Показать описание
In this section, export of ip reservations on dhcp server will be done. With Powershell, you can only retrieve the information of the computers booked. So what information can you get. Computer name, ip address, mac address and reservation status.

You can access powershell via my web page.

Рекомендации по теме
Комментарии
Автор

Why not put the command used in the video description?

gabrielluizbh
Автор

After the admin is allowed

this is the command:

Get-DhcpServerv4Scope | foreach ($ScopeID) {Get-DhcpServerv4Lease -ScopeId $_.ScopeId} |where {$_.AddressState -Like "*Reservation"} | Format-Table -Property ScopeID, IPAddress, Hostname, ClientID, AddressState -Autosize > c:\computername-DHCP.txt

volkanocup
Автор

Great video, how to import this into another dhcp server?? I've 200 reservation want to migrate dhcp server.

imranbhatti
Автор

At least you should have wrote the syntax here

networks
Автор

Can you show the command to import scope to the dhcp server

BeelZebul
visit shbcf.ru