Get-ADComputer命令 运行有时候超时


PowerShell交流中心分类: 远程管理Get-ADComputer命令 运行有时候超时
0
test-code asked 8年 ago

新入PowerShell,如题所示,超时的话要怎么解决 

1 Answers
-3
Best Answer
Mooser Lee 管理员 answered 8年 ago

PowerShell调用的AD的模块,有的时候超时,可能由你环境中的网络或者AD本身里面的数据量引起的。
可以考虑下面的分页参数,可能否提高性能。

  • ResultPageSize
  • ResultSetSize