Client Management Suite

 View Only
  • 1.  How to delete multiple computers from Altiris CMDB ?

    Posted Feb 02, 2015 05:26 AM

    Can anyone help me with   "How to delete multiple computers from Altiris CMDB ?"

     

     

    Regards



  • 2.  RE: How to delete multiple computers from Altiris CMDB ?

    Posted Feb 02, 2015 05:37 AM

    See this

    Best practices for retiring a computer

    Article:HOWTO95111 | Created: 2014-01-23 | Updated: 2014-09-23 | Article URL http://www.symantec.com/docs/HOWTO95111


  • 3.  RE: How to delete multiple computers from Altiris CMDB ?

    Posted Feb 02, 2015 06:28 AM

    Hi ,

     

    This document does not help to delete multiple resources at a time.

     

    Regards



  • 4.  RE: How to delete multiple computers from Altiris CMDB ?

    Posted Feb 02, 2015 06:37 AM

    See this download,First you can check your test Enviroment .

    Bulk Delete Resources

    https://www-secure.symantec.com/connect/downloads/bulk-delete-resources

    Edit#

    See this thread

    https://www-secure.symantec.com/connect/forums/deleteretire-computer-vbs



  • 5.  RE: How to delete multiple computers from Altiris CMDB ?

    Posted Feb 02, 2015 07:46 AM

    I use the following script to bulk delete computers.

    On Error Resume Next

    AltirisNSServer = InputBox("Enter Name of Altiris Server")

    Set itemManagement = CreateObject("Altiris.ASDK.NS.ItemManagement")
    itemManagement.TargetServer = AltirisNSServer
    itemManagement.Authenticate()

    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set InputList = objFSO.OpenTextFile  ("CompList.txt", 1, False)
    CompCount = 0
    Do until InputList.AtEndOfStream
        Err.Clear
        CompName = InputList.ReadLine
    '    WScript.Echo Compname
        If CompName <> "" Then
            GUIDList = itemManagement.GetItemsByNameAndType(CompName, "Computer")
            If UBound(GUIDList) > -1 Then
                for each GUID in GUIDList
                    itemManagement.DeleteItem(GUID)
    '            If Err.Number <> 0 Then WScript.Echo "Deleting: " & GUID        
                Next
            End If
            Err.Clear
        End If
    Loop
    WScript.Echo "Done"
    InputList.Close

    Save the script as .vbs and place a file called CompList.txt in the same directory as the vbs. In the CompList you add all computers you want to delete. One computer per line. The script goes through the list and deletes the computers from the SMP. You will be prompted for the name of the SMP in the beginning of the script.



  • 6.  RE: How to delete multiple computers from Altiris CMDB ?

    Trusted Advisor
    Posted Feb 04, 2015 11:19 AM

    Not sure if it helps you, but I learned today on the filters page you seemingly can mass select records and select delete.  I don't have a bunch to delete right now to actually test it but the right click delete option exists on the Filters page.  You'd just have to get the machines you want to delete into a filter.