Activate IIS site logging field [PowerShell]
问题 Is there a way to activate logging fields on a specific website in IIS, preferably through PowerShell? I want to activate the 'Client IP Address' logging field without needing to RDP to the machine and setting it manually. I am running Windows Server 2012 with IIS 8.5 回答1: You can also set the flags by using the following methodology whereby you use the total value of the flags required to by set as per the list below. The values are set by 2 to the power of the flag number. Total up all the