It's a bit more, but I think if you use the other functions directly you can skip the file system :). Something like:
$svcs = Get-Service | Select-Object Name, Status
$html = New-Html -TitleText 'Test' {
New-HtmlTable -DataTable $svcs
}
Write-PodeHtmlResponse -Value $html
This is where I fail. I've tried making "journal style" tables in R that contain results from multiple parts of my analysis (using htmlTable I think) but it's tedious. Tips and best practices welcome.