3 Replies Latest reply on Feb 28, 2012 3:42 AM by Lakshmanan Sathyamoorthy

    delete computers based on a textfile

    mcdave

      Hi,

       

      Is it possible to delete computers from the epo system tree based on a textfile containing a list of computernames?

      Like you can do to import new computers.

       

      regards

      Dave

        • 1. Re: delete computers based on a textfile
          Tristan

          If your running ePO 4.6 then the web API supports deleting machines.

           

          -- =====================

           

          system.delete names [uninstall]

          Deletes systems from the System Tree by name or ID if permissions allow.

          Requires permission to edit System Tree groups and systems

          [names (param 1) | ids] - You need to either supply the "names" with a comma separated list of names/ip addresses or a comma separated list of "ids".

          uninstall (param 2) - If true, this will also attempt to uninstall the agent from the affected systems.  Default is false.

           

          -- =====================

           

          This info came from the ePO.API.Explorer application https://community.mcafee.com/docs/DOC-2931

           

          Message was edited by: Tristan on 28/02/12 09:24:09 GMT
          • 2. Re: delete computers based on a textfile
            mcdave

            thx for the reply,

            sadly enough we're still using ePO 4.5

             

            But I found a workarround.

             

            • Create a new group
            • Import the list of computers that I want to delete (via a txt file) into that group with the option "Move systems from their current System Tree location to the synchronized group"
            • select all computers in that group and delete them

             

            grtz

            Dave

            • 3. Re: delete computers based on a textfile

              Hi,

               

              its not needed to move the PC's to the tree location after import the text file .you can use the query "duplicate systems" its will display the original Pc as well as duplicate entries added by imported text file then you can verify and delete all the PC's .....