Looping with UD-Tables

Hello All,

Is creating tables in a loop supported? I am able to create multiple tables when looping through an array of hashtables, but the data that is populated is from index 0 for each table.

Code is something like this:

$Dashboard = New-UDDashboard -Title “Title1” -Theme $theme -Content {
foreach ($table in $hashtables) {

New-UDTable -Title "Test" -Headers @(" ", " ") -Endpoint { $table.GetEnumerator() | Out-UDTableData -Property @("Name", "Value") }


Start-UDDashboard -Dashboard $Dashboard