Skip to content

Instantly share code, notes, and snippets.

@jeevan-vj
Last active February 13, 2018 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeevan-vj/ce5c3033aec86ba02ce6ce3be5206ae6 to your computer and use it in GitHub Desktop.
Save jeevan-vj/ce5c3033aec86ba02ce6ce3be5206ae6 to your computer and use it in GitHub Desktop.
list files in zip file using powershell
[Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem')
$files = [IO.Compression.ZipFile]::OpenRead($sourceFile).Entries
Write-Host $files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment