Exception of type 'System.OutOfMemoryException' RRS feed

  • Question

  • Hi All,

    I get the below error while using Exchange Admin Shell in MS Orchestrator.

    PowerShell invoke error: Running the Get-Command command in a remote session reported the following error: Exception of type 'System.OutOfMemoryException' was thrown.. for command: Command name: Import-PSSession.

    When i check the Shell MaxMemory i get the below results. Does this look ok? How can i fix the issue.


    • Moved by Bill_Stewart Monday, December 17, 2018 6:05 PM Unanswerable drive-by question
    Thursday, September 27, 2018 11:28 AM

All replies

  • It sounds like you have a corrupted system.

    Post you issue in the Orchestrator forum as others may have seen this.

    The remoting settings are normal.  "Get-Command" runs locally and may indicate that the imported session may have become corrupted.


    Thursday, September 27, 2018 12:47 PM