@adam I am working on a pretty cool implementation of New-UDRestApi for automating file publication, and as I’m working exclusively with PS7, found that the documentation at Rest-Apis is missing the distinction for PS7/Core which currently states:
Set-Content -Path $filename -Value $File -Encoding Byte
But for PS7/Core would be
Set-Content -Path $filename -Value $File -AsByteStream
A small fix but one that could leave someone quite confused if they were not familiar with the changes in PS7 (I was not aware that this change happened)