Script para obter o uso da CPU

Estou usando este script para obter o uso da CPU de vários servidores

$Output = 'C:\temp\Result.txt'
$ServerList = Get-Content 'C:\temp\Serverlist.txt'
$CPUPercent = @{
  Label = 'CPUUsed'
  Expression = {
    $SecsUsed = (New-Timespan -Start $_.StartTime).TotalSeconds
    [Math]::Round($_.CPU * 10 / $SecsUsed)
  }
}
Foreach ($ServerNames in $ServerList) {
  Invoke-Command -ComputerName $ServerNames -ScriptBlock {
    Get-Process | Select-Object -Property Name, CPU, $CPUPercent, Description | Sort-Object -Property CPUUsed -Descending | Select-Object -First 15 | Format-Table -AutoSize | Out-File $Output -Append
  }
}

e estou recebendo erro

Não é possível vincular o argumento ao parâmetro 'FilePath' porque é nulo. + CategoryInfo: InvalidData: (:) [Out-File], ParameterBindingValidationException + FullyQualifiedErrorId: ParameterArgumentValidationErrorNullNotAllowed, Microsoft.PowerShell.Commands.OutFileCommand + PSComputerName: ServerName

Você pode me ajudar nisso ...?

questionAnswers(1)

yourAnswerToTheQuestion