SyntaxFix
Write A Post
Hire A Developer
Questions
Try the Join-Path cmdlet:
Get-ChildItem c:\code\*\bin\* -Filter *.dll | Foreach-Object { Join-Path -Path $_.DirectoryName -ChildPath "$buildconfig\$($_.Name)" }