0

我是 Powershell 的初学者,我无法使这段代码正常工作

findstr 永远不会在磁盘上输出预期的文件

Start-Job -ScriptBlock {
    param (
    [parameter(Mandatory = $true, ValueFromPipeline = $true)]
    [string]$one,
    [parameter(Mandatory = $true, ValueFromPipeline = $true)]
    [string]$two,
    [parameter(Mandatory = $true, ValueFromPipeline = $true)]
    [string]$three)
    $run = findstr /i """$two""" $one > $three\$($one)$($two).csv
} -Name "Import_$($FilterUSNString)_$($fileName)" -ArgumentList "$global:folder\$fileName", $FilterUSNString, $Global:defaultoutputlocation

提前致谢

4

0 回答 0