-EvaluateUrlAsRegex
parameter to New-UDEndpoint
.New-UDEndpoint
cmdlet. 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 $File
parameter to gain access to the upload byte array.Set-Content
.file/*
or image/*
where * is a wildcard. The original filename is not transfered, and the wildcard is the only metadata avaliable other than the bytearray.