I hope that turns out to be wrong here, but I do not believe that there is a way to do this in the same way as with bash or with a few keystrokes.
You can iterate over a list by passing it through a foreach-object to achieve the same result.
1..5 | foreach-object { "test" + $_ }
Or using the shortened version:
1..5 | %{"test$_"}
In both cases ( % is an alias for foreach-object ), the output is:
test1 test2 test3 test4 test5
Note. If you create this in a script for publishing / distribution / reuse, use a more detailed foreach-object rather than the abbreviated % - for readability.
alroc source share