Created
July 5, 2016 11:55
-
-
Save blachniet/ef90125f5981227e02c91d59cfa758ea to your computer and use it in GitHub Desktop.
Increase the maximum memory allocation allowed in remote powershell sessions.
This file contains hidden or 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-Item WSMan:\localhost\Plugin\Microsoft.PowerShell\Quotas\MaxMemoryPerShellMB 10240 | |
Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 10240 | |
Restart-Service winrm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment