7-Zip can be used via console. To simplify its use, simply add the path to the executable to the system PATH.

Archive

7z.exe a archive.7z .\sourcefile.ext

Extract files

7z.exe e sourcefile.zip