looking to get an array or strings printed in a Modal with each item on its own “line”… not sure of the best way to do this or if something else should be used besides Modal.
The code i’m using is this (and i’ve tried iterations without the carriage returns):
Show-UDModal -Content {
foreach ($r in $res){ New-UDTypography -Text “$rnr”}
}
I’m looking for:
$r[0]
$r[1]
$r[2]
instead of $r[0] $r[1] $r[2] which is what i’m currently getting