문제점이 있습니다. 나는 명령을 실행하면 :GetSight를 사용하는 PowerShell 문제
오류가 있습니다powershell -command "gc C:\Program Files\Microsoft SQLServer\MSSQL.1\MSSQL\LOG\ERRORLOG -totalcount 5
:
"Get-Content : A positional parameter cannot be found that accepts argument 'Files\Microsoft'. At line:1 char:3 + gc <<<< C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG -to talcount 5 + CategoryInfo : InvalidArgument: (:) [Get-Content], ParameterBindingException +FullyQualifiedErrorId:PositionalParameterNotFound,Microsoft.PowerShell.Commands.GetContentCommand"
당신이 날 그와 함께 도와 줄 수는? 및 PowerShell은 매개 변수 사이의 구분 기호로 사용합니다 :
감사합니다. – Jade