un-archive a folder silently in Windows

You can translate the content of this page by selecting a language in the select box.

Powershell script to un-archive a folder silently in Windows

Let’s continue with our automation scripting tool series. Doing things on windows by using the mouse manually is fun until you run into the need to go to a major OS upgrade and have tons of applications to reinstall. To avoid human errors and save lots of time, you can write a script  to pick up your archived applications like tomcat zip files and unarchive it. This powershell scripts shows you how to unarchive a zip file silently.

AI Unraveled: Demystifying Frequently Asked Questions on Artificial Intelligence

#Unzip FIle Function
function Expand-ZIPFile($file, $destination)
$shell = new-object -com shell.application
$zip = $shell.NameSpace($file)
foreach($item in $zip.items())

# Call the function to unzip

Amplify Your Brand's Exposure with the AI Unraveled Podcast - Elevate Your Sales Today! [200K downloads per Month]



Expand-ZIPFile –File $Origin_Zip_File –Destination $Destination_Folder

error: Content is protected !!