(1)
開啟
[Windows PowerShell]
![](https://i-blog.csdnimg.cn/blog_migrate/32fa093129c2e11461395fce51eda4de.png)
(2)
查看
DHCP Server
稽核
Log
設定
PS C:\> Get-DhcpServerAuditLog
![](https://i-blog.csdnimg.cn/blog_migrate/c88cd62a3bb54e87254188333844c095.png)
(3)
設定
DHCP Log
檔案大小
PS C:\> Set-DhcpServerAuditLog -MaxMBFileSize 700
![](https://i-blog.csdnimg.cn/blog_migrate/013b6295ee8ae22bda41d377a11975e5.png)
![](https://i-blog.csdnimg.cn/blog_migrate/b9b586dbbe5aacf3b7181b75fe029444.png)
![](https://i-blog.csdnimg.cn/blog_migrate/a795e761c6507cc59c56c576750e6995.png)
註冊表位置:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters
![](https://i-blog.csdnimg.cn/blog_migrate/577e53902be2c2bd0f3d54861d2b8fbd.png)
![](https://i-blog.csdnimg.cn/blog_migrate/6613e4b97902334877d88f494e2ab3f5.png)
修改註冊表也要重啟dhcp服務,重啟dhcp服務:
![](https://i-blog.csdnimg.cn/blog_migrate/072b94e33273d762d23a6dc36fbf596f.png)