finally $webClient.Dispose()
# Set timeout (in milliseconds) $webClient.Timeout = $TimeoutSeconds * 1000 powershell 2.0 download file
Here is a :