Adding Event Viewer Permissions

To add firewall rules to a remote machine allowing remote event viewing quickly, here is a batch file:

set INPUT=
set /P INPUT=Type machine: %=%

"C:\Users\administrator.UCIA\Desktop\Sysinternals Suite\psexec.exe" \\%INPUT% ^
netsh advfirewall firewall set rule group="Remote Event Log Management" new enable=yes

pause

From http://dbastas.blogspot.com/2009/06/configuring-firewall-for-remote.html some example groups are

"Remote Administration", "File and Printer Sharing", "Remote Service Management", "Performance Logs and Alerts", "Remote Event Log Management", "Remote Scheduled Tasks Management", "Remote Volume Management", "Remote Desktop", "Windows Firewall Remote Management" and "windows management instrumentation (wmi)".