Managing Software Policies with the ASDK
Sorry this is going to be long winded:
We created a web page for people to be able to deploy software through SMP, using ASP/vbscript, and the ASDK calls from the webpage. I know there may be better ways to do this, but this workflow seems to meet our needs very well.
Basically the web page takes the computer entered by the user and puts it into a filter that is targeted by one of our software policies. It then updates the filter (with .UpdateCollections(strFilterGuid)). The webpage then makes an ASDK call to have the task 'Update Client Configuration' run against the computer the so it will pick up the software policy (everything mentioned here is done via. an ASDK, and I can provide the code mentioned).
Even though the filter is updated and the software policy points at the filter, the policy target needs to be 'refreshed' to show the clients that were added to the filter.
Is this possible via. the ASDK?
Right now I am trying "set resources = oScopingManagement.GetResourcesTargetedByPolicy(policyGuid)" to return the resources pointed to by the policy, hoping this will refresh the target, but I can not get it to return anything.
Appreciate any help.