But this forces to save a file and remove it in an additional step
Actual behavior?
Exception: C:.....\PowerShell\Modules\VSTeam\7.13.0\vsteam.functions.ps1:279
Line |
279 | Write-Verbose $resp
| ~
| Cannot convert '
| ' to the type 'System.String' required by parameter 'Message'. Specified method is not supported.
Steps to reproduce
Expected behavior
As the artifact is a json file, I expect Invoke-VSTeamRequest manages the result and return a psobject representation of the json
As a workarround it's possible to provide the -OutFile parameter to save the content in a temp file and then do
But this forces to save a file and remove it in an additional step
Actual behavior?
Exception: C:.....\PowerShell\Modules\VSTeam\7.13.0\vsteam.functions.ps1:279 Line | 279 | Write-Verbose $resp |
~| Cannot convert ' | ' to the type 'System.String' required by parameter 'Message'. Specified method is not supported.On Which OS have you tried it?
Windows
What was your server version?
Azure DevOps Services
Other server version
No response
Log output of used API
Log output of $PSVersionTable