Skip to content

Commit 28ef0d8

Browse files
authored
Merge pull request #199 from OpenVoxProject/nmburgan-patch-1
Increase WinRM shell and user limits for CI
2 parents 701df12 + a888380 commit 28ef0d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/ci.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,11 @@ Set-WSManQuickConfig -Force
156156
Set-WinRMHostConfiguration
157157
Test-WinRMConfiguration @User | Out-Null
158158
Add-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
159166
Restart-Service WinRm

0 commit comments

Comments
 (0)