Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Variable in the file’s name filter.

$
0
0

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.


Viewing all articles
Browse latest Browse all 13067

Latest Images

Trending Articles



Latest Images