1

How to clear Windows 7 logs using command line?

view story
linux-howto

http://serverfault.com – Normally I can open "Computer Management" console, go to "Event Viewer" snap-in, open "Windows Logs" folder, right-click on "Application"/"Security"/"Setup"/"System" subfolder, choose "Clear Log..." and confirm by pressing "Clear" or "Save and Clear". Having enough rights, how can I achieve the same effect through using command line while raising no confirmation requests? (HowTos)