New-UDEndpointcmdlet. Be careful when accepting files as it can pose a security risk. The file is provided to an endpoint as an array of bytes that you can then output and process how ever you like. You should accept a
$Fileparameter to gain access to the upload byte array.
image/*where * is a wildcard. The original filename is not transfered, and the wildcard is the only metadata avaliable other than the bytearray.