Windows cheatsheet

View last login


    net user

    net user o.vasia

How to Download a File with PowerShell aka wget/curl


    Invoke-WebRequest -Uri http://some.shit.com/windouz.img -OutFile windouz.img

or better(faster)


    Start-BitsTransfer -Source $url -Destination $dest

Show Processes


    Get-Process -Name Far

Get file MD5 CheckSum


    (certUtil -hashfile openbsd76.iso MD5)[1] - replace " ",""

    cd44154e6e6115f2daae9607b8960a43

##