locked
object disposal in Powershell when scripting for SCSM RRS feed

  • Question

  • I wanted to see if anyone had any advise regarding object disposal when script for SCSM.

    My previous PowerShell experience is with SharePoint, and object disposal is a big deal.  However, i do not see any "dispose" methods for the SCSM objects.

    Is object disposal needed when working with SCSM?


    Joshua Fuente

    Monday, January 7, 2013 2:36 PM

Answers

  • No, in generally. If you run your script inside SCSM as workflow then all memory will be release belcause each workflow runs as separeted process.

    SCSMSolutions
    email: freemanru (at) gmail (dot) com

    • Marked as answer by NachoScript Wednesday, January 16, 2013 3:40 AM
    Tuesday, January 15, 2013 2:07 AM