File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -156,4 +156,11 @@ Set-WSManQuickConfig -Force
156156Set-WinRMHostConfiguration
157157Test-WinRMConfiguration @User | Out-Null
158158Add-Content - Path $ENV: GITHUB_ENV - Value " BOLT_WINRM_PASSWORD=$pass "
159+ Set-Item WSMan:\localhost\Plugin\microsoft.powershell\Quotas\MaxShells - Value 100
160+ Set-Item WSMan:\localhost\Plugin\microsoft.powershell\Quotas\MaxShellsPerUser - Value 100
161+ Set-Item WSMan:\localhost\Plugin\microsoft.powershell\Quotas\MaxProcessesPerShell - Value 100
162+ Set-Item WSMan:\localhost\Plugin\microsoft.powershell\Quotas\MaxConcurrentUsers - Value 100
163+ Set-Item WSMan:\localhost\Shell\MaxShellsPerUser - Value 100
164+ Set-Item WSMan:\localhost\Shell\MaxProcessesPerShell - Value 100
165+ Set-Item WSMan:\localhost\Shell\MaxConcurrentUsers - Value 100
159166Restart-Service WinRm
You can’t perform that action at this time.
0 commit comments