Increase Parallel Shells in PowerShell V2

I would like to increase the number of parallel shells in PowerShell V2.I tried to use the following command, but I had no luck. The error I received is "Error: misuse of the command line." Enter "winrm -?" for help. "Can someone shine some kind of light?

winrm set winrm/config/winrs @{MaxShellsPerUser="50"}
+3
source share
4 answers

I will just add to Keith the answer that you can find the command mentioned and much more in the Administrator Guide for Removing Windows PowerShell . It is worth reading!

+4
source

From an elevated PowerShell prompt, do:

Set-Item WSMan:\localhost\Shell\MaxShellsPerUser 50
+5
source

winrm , MSDN :

winrm set winrm/config @{MaxShellsPerUser = "50" }

0
source

You missed single quotes.

winrm set winrm / config / winrs '@ {MaxShellsPerUser = "50"}'
0
source

Source: https://habr.com/ru/post/1738582/


All Articles