I am trying to execute an exe on a remote computer using invoke-command. Executing the exe on the remote machine after logging into the machine using remote desktop takes 1G
From:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa384372(v=vs.85).aspx
The defult memory limit on remote shells is 150MB
MaxMemoryPerShellMB Specifies the maximum amount of memory allocated per shell, including the shell's child processes. The default is 150 MB.