attach a file using Powershell
Hello. I want to attach a file by using Powershell to an existing task. I execute the script:
$fname = 'C:\temp\1.txt'
Invoke-RestMethod -Uri $url -Method post -InFile $fname -ContentType "multipart/form-data"
The Service Desk creates a record that the request is modified, but the file is not attached
How Solve Problem? thanks!
New to ADSelfService Plus?