Get-ZipFileProperties – Retrieve details about zip files

I uploaded a new function that can read details from zip files, for example the compression ratio and the number of files and folders that it contains. This function is based on a short article I wrote for PowerShell Magazine, Determine compression ratio of compressed files. I have uploaded this function to the TechNet Script Gallery.

Using the this function it is possible to view the details of a zip files, as shown in the following example:

.EXAMPLE
Get-ChildItem -Filter *.zip | Get-ZipFileProperties

Description
-----------
Use Get-ChildItem to retrieve a list of zip files in the current folder and pipe it into the Get-ZipFileProperties function to retrieve information about these files

GetZipFileProps

For more information or the direct download links of these scripts please refer to the links below. Feel free to leave a comment either here or in the TechNet Script Library.

TechNet Script Gallery
My entries in TechNet Script Gallery
JaapBrasser.com – Scripts
Get-ZipFileProperties – Script that retrieves details about zip files
Share

Leave a Reply

Your email address will not be published.