powershell Get-Counter -ounter' \ Process(iexplore)\ Working Set - Private'用于后退时不工作

时间:2016-04-21 11:53:52

标签: powershell

当我运行此代码时

powershell Get-Counter -Counter '\Process(iexplore)\Working Set - Private'

在反引号内抛出

  

错误:" Get-Counter:指定的计数器路径不能   解释。\ n行:1字符:2 \ n +& <<<< Get-Counter -counter   '流程(*)工作集 - 私有' \ n + CategoryInfo:   InvalidResult:(:) [Get-Counter],Exception \ n +   FullyQualifiedErrorId:   CounterApiError,Microsoft.PowerShell.Commands.GetCounterCommand \ n \ n""

请帮助我。

当我在命令提示符下直接运行它时,它可以正常工作。

0 个答案:

没有答案