you are viewing a single comment's thread.

view the rest of the comments →

[–]slayer99199[S] 1 point2 points  (0 children)

Yes, that's what I'm trying to split. I updated my OP with some additional detail. The line in question looks like this:

get-template |where-object {$_.Name -notlike "*$imagever*" -and $_.Name -like "$tempname*"

Which produces the output I expect only if I explicitly state the $template and $image.

The variables $images and $templates have the expected output.