added download/unpack scripts

This commit is contained in:
2020-12-16 23:25:41 -05:00
parent 0a7f58d483
commit b81ce2e2c9
15 changed files with 167 additions and 0 deletions

10
scripts/unpack.ps1 Normal file
View File

@@ -0,0 +1,10 @@
# Usage: .\unpack.ps1 filename.zip
# Usage: .\unpack.ps1 filename.zip c:\
$FILENAME=$args[0]
if ($args.count -gt 1) {
$DESTPATH=$args[1]
Expand-Archive -Force -Path "${FILENAME}" -DestinationPath "${DESTPATH}"
} else {
Expand-Archive -Force -Path "${FILENAME}"
}