The script is available for download from https://gallery.technet.microsoft.com//How-to-remove-the-d3a94c42. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This PowerShell script sample shows how to remove the specified file without unzip.
In some cases, user have many zip files that contains multiple log files. They want to regularly clean up some files that are no longer needed, because of its limited space.
Some of log files might be still useful or useless, they have to manually clean up the certain files. If we can provide a script that help user to automatically remove the file without unzip, it's very useful
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery