I’m getting some inconsistent output when attempting to set the Portal Output Type to “Table”. It seems like if its a table of 1 object, it just completely refuses to display. It just says, “No Data.” The Job will say successful, and the log in the admin portal will display the table in CLI with zero issues.
I’ll just use this as an example: Get-LocalUser
Displays a result in a table
Get-LocalUser | Where-Object { $_.name -like "Administrator"}
Displays Zero Results or table in the portal
Check to see if its the where-object: Get-LocalUser | Where-Object { $_.name -like "*G*"}
Displays Table with 2 results correctly.
I already tried force wrapping it in an array with no luck:
Yeah, I tested out your way as well, same result. The last example I posted does the same thing. It’s just checking to see if there was only one object first then wrapping it.