I think it's ridiculous that no one actually read your code and error message. FYI your issue was you had a typo in your command. You have uplaodsummary instead of uploadsummary.
Write-Host "##vso[task.uplaodsummary]$path"