7zip - Extract an archive to a specific directory from the command line.

Command Line

7z e foobar.zip -oFoobar

Yes. A space does not separate the -o switch from the destination directory.

PowerShell

& 7z e foobar.zip -oFoobar

Without an ampersand, PoSH will bark: "Bad numeric constant: 7."

See Also

PowerShell Special Tokens

7zip Command Line Docs