Last active
November 19, 2019 21:05
-
-
Save truthbk/87ec526dc669335ffe133225e2a83e69 to your computer and use it in GitHub Desktop.
winrm_meminc.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExecutionPolicy Bypass -Scope Process -Force | |
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
Invoke-Command -ScriptBlock {winrm set winrm/config/winrs `@`{MaxMemoryPerShellMB=`"2048`"`}} | |
Invoke-Command -ScriptBlock {winrm set winrm/config/winrs `@`{MaxProcessesPerShell =`"200`"`}} | |
choco install kb976932 | |
choco install kb2670838 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment