Files
netch/scripts/extract.ps1
2021-07-16 06:00:50 +08:00

19 lines
218 B
PowerShell

param (
[string]
$name,
[string]
$address
)
try
{
Expand-Archive -Force -Path $name -DestinationPath $address
}
catch
{
Write-Host "Extract $name failed"
exit 1
}
exit 0