$dlls.Count
이 단일 요소를 반환하는 이유는 무엇입니까? 나는 같은 문자열 내 배열을 선언하려고 : 나는 그것을 발견문자열 배열을 선언하는 방법 (여러 줄로)
$basePath = Split-Path $MyInvocation.MyCommand.Path
$dlls = @(
$basePath + "\bin\debug\dll1.dll",
$basePath + "\bin\debug\dll2.dll",
$basePath + "\bin\debug\dll3.dll"
)
[PowerShell 어레이 초기화] (http://stackoverflow.com/questions/226596/powershell-array-initialization)의 가능한 복제본 –