Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PSSession错误:已超过此用户的最大并发Shell数_Session_Powershell_Powershell Remoting_Powershell 4.0 - Fatal编程技术网

PSSession错误:已超过此用户的最大并发Shell数

PSSession错误:已超过此用户的最大并发Shell数,session,powershell,powershell-remoting,powershell-4.0,Session,Powershell,Powershell Remoting,Powershell 4.0,我通过New-PSsessioncmdlet启动了一些PSsession 这些会话未关闭,当我尝试打开另一个会话时,收到以下错误消息: New-PSsession : Connecting to remote server serverName failed with the following error message : The WS-Management service cannot process the request. The maximum number of concurre

我通过
New-PSsession
cmdlet启动了一些PSsession

这些会话未关闭,当我尝试打开另一个会话时,收到以下错误消息:

New-PSsession : Connecting to remote server serverName failed with the following error message : The WS-Management service cannot process the request. 
The maximum number of concurrent shells for this user has been exceeded. 
Close existing shells or raise the quota for this user. 
For more information, see the about_Remote_Troubleshooting Help topic.
当我尝试通过
get-PSSession
cmdlet在同一台计算机上获取打开的PSSessions时,没有显示任何内容

我已注销正在运行脚本的服务器,重新启动它,尝试在源服务器和目标服务器上查找
powershell.exe
进程,并尝试各种PSSession cmdlet组合以删除打开的会话,但找不到阻止我创建新会话的打开会话的任何跟踪

有人能看到我遗漏了什么吗


服务器2008 R2源计算机和服务器2012目标计算机上的Powershell v4

您是刚连接到2008机箱还是连接到的机箱上运行着类似exchange的东西?刚连接到2008机箱此问题似乎在周末自行解决,我可以创建远程会话并将其删除,但我不知道为什么会出现这个问题