Batch – Clear Windows Logs

FOR /F “tokens=*” %1 in (‘wevtutil.exe el’) DO wevtutil.exe cl “%1” exit /b 0   Notes Clear events after saving log: wevtutil cl Application /bu:C:\backup\back.evtx Return names of logs: wevtutil el Status of log: wevtutil gli Application   All Options wevtutil [{el | enum-logs}] [{gl | get-log} <Logname> [/f:<Format>]] [{sl | set-log} <Logname> [/e:<Enabled>] [/i:<Isolation>] Read More …

Mac – CMAppUtil – failed with 80004005

Command sudo ./CMAppUtil -c “VLC-3.0.11.1.dmg” -o ./ Error VLC.app/Contents/Info.plist file failed with error The file ‚ÄúInfo.plist‚Äù couldn‚Äôt be opened using text encoding Unicode (UTF-8). ParseDirectory failed with 80004005.   Solution Add ‘-s’ to skip parse detection Command sudo ./CMAppUtil -s -c “VLC-3.0.11.1.dmg” -o ./     Notes Another method of getting around the error: Create Read More …