Quantcast
Channel: Symantec Connect - Endpoint Management - Articles
Viewing all articles
Browse latest Browse all 861

SMP - ASDK - Web Service - Update Resource Target

$
0
0

I raised an Idea on connect - SMP - ASDK - Web Service - InvalidateTargetMembership asking for a way to programatically update a Target in an efficient way.

There are a number of ways to do this either via SQL or using NScript but none are great.

exec spResourceTargetDeltaUpdate @resourceTargetGuid='target guid goes here', @flush=1

If you search the forums for spResourceTargetDeltaUpdate there are a number of times it's mentioned.

In SMP 8.0 HF4 there were 4 new Web Services added to the Resource Model

URL: http://localhost/altiris/nswebservice/resourcemodel.asmx

Methods:

  • UpdateResourceTargetMembership
    • targetGuid (guid)
    • fullUpdate (bool)
    • updateDependencies (bool)
  • UpdateResourceTargets
    • targetGuids (string)
    • fullUpdate (bool)
    • updateDependencies (bool)
  • UpdateResourceTargetsAsync
    • targetGuids (string)
    • fullUpdate (bool)
    • updateDependencies (bool)
    • urgent (bool)
  • UpdateResourceTargetsMembership
    • targetGuid (guids [])
    • fullUpdate (bool)
    • updateDependencies (bool)

Viewing all articles
Browse latest Browse all 861

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>