我的输出看起来不像文档中的示例:Write-Error "This is an error" : This is an error+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorIdPS> write-error "Hello
Write-Error : poshgit did not finish successfully. Boo to the chocolatey gods!ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:14 + CategoryInfo : NotSpecified: (:) [Write-