New-UDTab / New-UDTabContainer


has someone used these before?

these 2 were announced here: but I can’t find anything about it in the docs. I tried something like this:

$tabs = @()
$tabs += New-UDTab -Text "Tab1" -content { basic stuff }
$tabs += New-UDTab -Text "Tab2" -content { basic stuff }
New-UDTabContainer -Tabs $tabs

but it doesn’t work. any help/snippet would be appreciated.

Here is an example of how to use tabs:

I’ve created an issue for documenting this feature:

thanks adam. I will test it.