PowerShell Script Returning Unexpected Output (random numbers)
It looks like the numbers are the output coming from $webClient.UploadFile
. Try adding > $null
after it, like this:
$webClient.UploadFile($url, "PUT", $filePath) > $null;
This should send the output to null, making those numbers not display. Unfortunately I am unable to test this particular situation myself.