Q: When I run Windows PowerShell Invoke-Command on more than 32 remote servers, the command runs only on the first 32 servers and queues the others. How can I change this?

A: The queuing of commands is by design, done to control the amount of concurrent remote command executions. However, you can change the concurrent limit by using the -ThrottleLimit <value> parameter for Invoke-Command to increase it. Here's an example of how to use it:

Invoke-Command -ThrottleLimit 64 -ComputerName a,b,c -ScriptBlock {command}
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.