well, you’ve put “sclient” into the second example, whereas the first used “client”. But, you don’t need to concatenate:
Get-ChildItem $source -Recurse -filter “aaa_bbb_$($client)_FULL.txt”
Ought to give the same result.
well, you’ve put “sclient” into the second example, whereas the first used “client”. But, you don’t need to concatenate:
Get-ChildItem $source -Recurse -filter “aaa_bbb_$($client)_FULL.txt”
Ought to give the same result.