Function to unpack a Zip File

See Zip missing in toolkit - The Toolkit / Extensions - PSAppDeployToolkit Community

NOTE: the post above is a bit old so if someone has a better way to extract ZIP/CAB files, please share.

FYI: The .net method to unzip is known to be weak. (e.g. can’t handle slightly corrupted ZIP files)
A more reliable solution would be to use 7zip.