Clear all windows event log entries using PowerShell

wevtutil el | Foreach-Object {Write-Host “Clearing $_”; wevtutil cl “$_”}


A Powershell script to sort files by type

Disclaimer: I do not take any responsibility for the chaos you could create by running the below script in the wrong folder with the wrong permissions. You bricked your workstation! Echo “Remove odd items…” $odd = @(“ini”,”bin”,”parts”,”website”,”_*”,”.*”,”tmp”,”delayed”,”dwg”,”dxf”) foreach ($i in $odd) { Echo $i $e = ls *.$i -Recurse foreach ($oi in $e) { Remove-item […]

Top 40 – Interview Questions

Gary Elphick, founder and CEO of Disrupt asks: ‘If I call up your current employer right now what three things are they going to say about you?’ Justin Dry, co-founder of Vinomofo asks: ‘Tell me about one of your passions outside of work and why you love it?’ Jonathan Barouch, founder and CEO of Local […]