update
This commit is contained in:
@@ -66,7 +66,7 @@ Function IsDownloadable
|
||||
Catch [System.Net.WebException] { $HTTPResponse = $_.Exception.Response }
|
||||
|
||||
## Close the connection, because we're done with it
|
||||
Finaly { $HTTPResponse.Close() }
|
||||
Finally { $HTTPResponse.Close() }
|
||||
|
||||
## Test to make sure we received a status of 200 "OK" from the resource
|
||||
If ($HTTPStatus -eq 200) { Return $true }
|
||||
|
||||
Reference in New Issue
Block a user