Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
powershell:qnd:file_operations [2022/06/18 14:57] – [Common Commands By Example] mguptonpowershell:qnd:file_operations [2022/10/06 20:13] (current) mgupton
Line 93: Line 93:
  
 $archive.Entries | Select-Object -Property FullName $archive.Entries | Select-Object -Property FullName
 +</code>
 +
 +Unzip zip archives contained in another zip archive.
 +<code powershell>
 +Expand-Archive -DestinationPath .\zips '.\all_reports.zip'
 +ls .\zips\ | % {Expand-Archive -DestinationPath $env:temp $_.FullName}
 </code> </code>
  
  • powershell/qnd/file_operations.1655564255.txt.gz
  • Last modified: 2022/06/18 14:57
  • by mgupton