Topic
  • 3 replies
  • Latest Post - ‏2013-09-03T14:30:18Z by mcalvi91
SystemAdmin
SystemAdmin
757 Posts

Pinned topic How to remove device and change its group using platform API

‏2012-11-14T09:19:24Z |
I'm trying to find APIs for below two functions:
1. Remove device after deprovision it
2. Change some device's computer group.

I've read through the platform API reference guide, but still do not figure out the right APIs for them. Could the platform API support the two functions? Is there any example? Thanks in advance.
Updated on 2012-11-19T07:27:29Z at 2012-11-19T07:27:29Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    757 Posts

    Re: How to remove device and change its group using platform API

    ‏2012-11-14T17:15:29Z  
    You can download the Computer Remover command line tool which should let you remove the device from the database. As for the computer group, if it's a manual group I'm not sure that can be changed from the COM API, but if it's automatic you can update the relevance for the computer group to change it's members.

    The computer remover tool is located at: https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/Tivoli%20Endpoint%20Manager/page/TEM%20Utilities
  • SystemAdmin
    SystemAdmin
    757 Posts

    Re: How to remove device and change its group using platform API

    ‏2012-11-19T07:27:29Z  
    You can download the Computer Remover command line tool which should let you remove the device from the database. As for the computer group, if it's a manual group I'm not sure that can be changed from the COM API, but if it's automatic you can update the relevance for the computer group to change it's members.

    The computer remover tool is located at: https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/Tivoli%20Endpoint%20Manager/page/TEM%20Utilities
    Ben, Thanks for your reply.
    I tried the Computer Remover command line tool to remove some existing device from TEM, but not successful, maybe I'm not using it correctly,please help advice. Below is the command I use to delete a device named "ldap's MI-ONE Plus" from TEM database and the error I got.

    D:\>BESComputerRemover-3.0.1.123.exe -N "ldap's MI-ONE Plus"
    No time specified for deletion of Expired Computers, defaulting to 30 days.
    No time specified for deletion of Deleted Computers, defaulting to 90 days.

    ERROR: Can't open file ldap's MI-ONE Plus. No such file or directory
  • mcalvi91
    mcalvi91
    37 Posts

    Re: How to remove device and change its group using platform API

    ‏2013-09-03T14:30:18Z  
    Ben, Thanks for your reply.
    I tried the Computer Remover command line tool to remove some existing device from TEM, but not successful, maybe I'm not using it correctly,please help advice. Below is the command I use to delete a device named "ldap's MI-ONE Plus" from TEM database and the error I got.

    D:\>BESComputerRemover-3.0.1.123.exe -N "ldap's MI-ONE Plus"
    No time specified for deletion of Expired Computers, defaulting to 30 days.
    No time specified for deletion of Deleted Computers, defaulting to 90 days.

    ERROR: Can't open file ldap's MI-ONE Plus. No such file or directory

    Did you ever get an answer on this?  We have the same use case (remove a specific host or IP (s) based on a de-provision request)