In PowerShell, you can multiply strings: the string is repeated which can be useful for creating separators:
'-' * 50
This works for words, too:
'localhost' * 10
You can create a text array by converting the text to an array by first wrapping it into @() before multiplying it:
@('localhost') * 10