Hello,
You can modify the maximum memory of WinRM shells with that :
Set-Item -Path wsman:\localhost\Shell\MaxMemoryPerShellMB -Value 200
You can check the modifications with :
Get-Item -Path wsman:\localhost\Shell\MaxMemoryPerShellMB
You can see all of the customisable value with :
Get-ChildItem -Path wsman:\localhost\Shell
As you can see, you are able to modify : AllowRemoteShellAccess, IdleTimeout, MaxConcurrentUsers, MaxShellRunTime, MaxProcessesPerShell, MaxMemoryPerShellMB, MaxShellsPerUser.
Hi ,
Can you tell does increasing the memory in the winrm decrease my script runtime.
Regards,
Ajay Yadav
It might, it really depend of the script and its memory usage.