Upload a file to Box.com using Powershell
问题 I am working on a series of Powershell scripts for my company to use to transfer data to and from Box.com. The one thing I just can't figure out is uploading files. The Box API requires a multipart POST operation for uploads, and I've seen a few answers here on SO indicating that I should be able to do that in Powershell (such as this one). But I can't seem to get it working. Here's the code I have right now: Function Post-File { Param( [Parameter(Mandatory=$True,Position=1)] [string]