CA Client Automation

  • 1.  Command to list Install Records on a Target

    Posted Apr 20, 2018 04:52 PM

    Hi, Is there a command (i.e. cadsmcmd -or- sd_acmd) that can be used on each Target endpoint that will list all of that Computer's Install records? We need to add an Install record (which we know how to do) but first want to ensure that the Install Record for that target doesn't already exist. This is a fail-safe method, just in case the script gets run against the wrong Computer Query group.



  • 2.  Re: Command to list Install Records on a Target
    Best Answer

    Posted Apr 20, 2018 04:56 PM
      |   view attached

    Cadsmcmd targetcomputer action=listinst name=computer_name

     

    Steve McCormick, ITIL

    CA Technologies

    Principal Services Consultant

    Stephen.McCormick@ca.com

    <mailto:Stephen.McCormick@ca.com>



  • 3.  Re: Command to list Install Records on a Target

    Posted Apr 20, 2018 05:10 PM
      |   view attached


  • 4.  Re: Command to list Install Records on a Target

    Broadcom Employee
    Posted Apr 20, 2018 05:14 PM

    James remember the cadsmcmd command only exists if you have a dsm explorer installed.  If you need to do this at each endpoint you will need to run the command to get it for all computers and put it into a csv file.  Then have an sd package that delivers that file to all the endpoints and have a script look for all the entries in the csv that has that file name then call the sd_acmd icreate install record for each package you need to create a record for.

     

    Richard Lechner

    Principal Engineering Services Architect

     

    CA Technologies

    Mobile: +1 703 655 7161 | Richard.Lechner@ca.com

     

    <mailto:Richard.Lechner@ca.com>[CA]<http://www.ca.com/us/default.aspx>[Twitter]<http://twitter.com/CAInc>[Slideshare]<http://www.slideshare.net/cainc>[Facebook]<https://www.facebook.com/CATechnologies>[YouTube]<http://www.youtube.com/user/catechnologies>[LinkedIn]<http://www.linkedin.com/company/1372?goback=.cps_1244823420724_1>[Google]<https://plus.google.com/CATechnologies>[Google+]<http://www.ca.com/us/rss.aspx?intcmp=footernav>



  • 5.  Re: Command to list Install Records on a Target

    Posted Apr 20, 2018 05:33 PM

    Also I know you are using my backup process for installation records, which actually is a script which runs this very command for all computers and outputs to a single file, so really you can just search for the computer in the backup file, and all its records will be listed.

     

    Steve McCormick, ITIL

    CA Technologies

    Principal Services Consultant

    Stephen.McCormick@ca.com

    <mailto:Stephen.McCormick@ca.com>