Microsoft.PowerShell.Archive icon indicating copy to clipboard operation
Microsoft.PowerShell.Archive copied to clipboard

Is anyone working on a Get-Archive that would retrieve an archive's list of files?

Open Liturgist opened this issue 3 years ago • 0 comments

I frequently find a need to get the metadata of items in an archive.

Something like Get-Archive sounds good.

Could/should this be integrated to Get-ChildObject? Something like:

Get-ChildItem -Path '.\anarchive.zip' -Recurse

Perhaps even specifying subdirectories in the archive:

Get-ChildItem -Path '.\anarchive.zip\dir1' -Recurse

Liturgist avatar Nov 15 '21 18:11 Liturgist