What is the command to unzip a file using 7z in powershell?
set-alias sz \"$env:ProgramFiles\\7-Zip\\7z.exe\" sz x $zipfilePath $destinationUnzipPath -aoa -
Aliases are not meant for that, they are meant to proxy other commands, not commands + parameters.
To achieve what you want you would need to use a functions:
function sz($args) { Start-Process "$env:ProgramFiles\7-Zip\7z.exe" -ArgumentList $args }