Created
September 26, 2019 23:27
-
-
Save evanricard/48c3ab7abb95cc2311f474b56babb71b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$dir = dir *.zip | |
#go through each zip file in the directory variable | |
foreach($item in $dir) | |
{ | |
Expand-Archive -Path $item -DestinationPath ($item -replace '.zip','') -Force | |
} | |
/* unzip all files in a directory and then do some work!! */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment