Reading Time: < 1 minute

The following one-liner PowerShell cmdlet will allow you to change the default location of the Audit Log file on a DHCP Server.

Execute the following cmdlet using an elevated PowerShell Prompt from the target DHCP Server to verify that DHCP Audit Logging is enabled.


If Enable=True then execute the following cmdlet.

If Enable=False then execute the following cmdlet to enable the Audit Logging and alter the default file location.

In order, the change to take place, the DHCP Service must be restarted.

Thanks for reading!