I can run this command to add a custom log:
.\appcmd.exe set config -section:system.applicationHost/sites /+"[name='MyWebSite'].logFile.customFields.[logFieldName='OriginalIP',sourceName='X-FORWARDED-FOR',sourceType='RequestHeader']" /commit:apphost
What command to I use to see if that config has already been set? There is no appcmd.exe get config -section...