$url = "https://git.scamhost.online/fear/apps/archive/beta.zip" $destPath = "C:\SS" $zipFile = "$destPath\archive.zip" New-Item -ItemType Directory -Force -Path $destPath | Out-Null Invoke-WebRequest -Uri $url -OutFile $zipFile Expand-Archive -Path $zipFile -DestinationPath $destPath -Force Remove-Item -Path $zipFile -Force