Consider a function that returns a list of object X where X has an integer and an array of objects.
Get-Foo
MyInteger MyStrings
--------- ---------
1 {A,B,C,D}
2 {A,B,C}
3 {A}
How do I perform a self-join of this list in order to get the output below?
Get-Foo
MyInteger MyString
--------- --------
1 A
1 B
1 C
1 D
2 A
2 B
2 C
3 A