I’d like to increase number of concurrent shells in PowerShell V2.I tried using the following command ,but I got no luck.The error I got is” Error: Invalid use of command line. Type “winrm -?” for help.”
Can someone shine some light?
winrm set winrm/config/winrs @{MaxShellsPerUser="50"}
I’ll just add to Keith’s answer that you can find the command mentioned and much more in Administrator’s Guide to
Windows PowerShell Remoting. It’s worth reading!