REST API via PowerShell - Need example for adding attachment to Task

REST API via PowerShell - Need example for adding attachment to Task

I am able to create Tasks and add them to a Request.  What I need help with is uploading an attachment to a Task using Invoke-RestMethod in PowerShell.  I can work with the API Documentation tool in the Admin tab to upload an attachment to a Task but it doesn't show the information for the multipart boundary information for the attachment so that I can replicate it in the Invoke-RestMethod call.

Anyone have a PowerShell example out there?  Thanks.

                  New to ADSelfService Plus?