I've encrypted .zip archive with some files. Later archive contents must be checked by someone who doesn't know encryption password. Is there any way to do this in powershell?
Ubuntu has zip -sf myfile.zip command but I couldn't find any simular in powershell.

If you're just looking to list the zip contents, then this function will do. As for extracting the Zip contents,
ZipArchivedoes not support encrypted Zips as of today. There are third party PowerShell Modules as well as libraries that can do this though.Usage:
To further expand the usage since it seems not quite clear:
Note: An improved version of the function above is available as part of the PSCompression Module.