增加PowerShell V2中的并发shell数

Ybb*_*est 3 powershell

我想在PowerShell V2中增加并发shell的数量.我尝试使用以下命令,但我没有运气.我得到的错误是"错误:命令行的使用无效.输入"winrm - ?"寻求帮助. " 有人能发光吗?

winrm set winrm/config/winrs @{MaxShellsPerUser="50"}
Run Code Online (Sandbox Code Playgroud)

Kei*_*ill 5

从提升的PowerShell提示符执行:

Set-Item WSMan:\localhost\Shell\MaxShellsPerUser 50
Run Code Online (Sandbox Code Playgroud)