7Zip Powershell not working

Question:

I’m having trouble getting a .7z file to extract via Powershell.

My PowerShell function looks like this:

I get this error:

There seems to be some sort of parsing error but I’ve tried every different combination to get it working.

Any ideas on why this is not working?

Answer:

You need to put -o in quotes:

Source:

7Zip Powershell not working by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply