Get-WmiObject : Out of memory RRS feed

  • Question

  • I am posting here as i believe this is being triggered by powershell. 

    I have about 600 clients i monitor. I run remote powershells scripts on them nearly hourly but i noticed that all of a sudden i am getting this error back from some clients. "Get-WmiObject : Out of memory" A reboot resolves the problems as does restarting the wmi service. Restarting this has its own set of problems due to SCCM being installed and a dependency service and that has issues restarting. "WARNING: Waiting for service 'SMS Agent Host (ccmexec)' to stop..." forever. 

    I am not sure what powershell script i am running on these that cause it to happen and is there an easier way to resolve the issue once it starts.

    Any ideas are appreciated. 

    • Moved by Bill_Stewart Tuesday, December 11, 2018 11:24 PM This is not WMI break/fix forum
    Tuesday, August 7, 2018 5:55 PM

All replies

  • This is not a break/fix forum.  The issue is clearly not a scripting issue.  Run appropriate diagnostics or contact MS support for help.


    Tuesday, August 7, 2018 6:27 PM