Deployment Solution

 View Only
  • 1.  How to setup Update client configuration in DS 6.9

    Posted Mar 26, 2015 03:55 PM

    I use to have job to restart the update client configuration in DS6.9 but I don't remember how I did,

    can someone give me the script for this?

     

    Thanks

     

    Lillian



  • 2.  RE: How to setup Update client configuration in DS 6.9

    Posted Mar 27, 2015 03:36 AM

    Isn't there this "Get Inventory" task?

    Maybe i totally misunderstand your question.



  • 3.  RE: How to setup Update client configuration in DS 6.9

    Posted Mar 27, 2015 06:43 AM

    If you want to use DS 6.9 to tell the Symantec Management Agent to update config you can run the following in a Run Script task:

    'vbscript to force the Altiris Agent to update config and check for new policies
    ' Cause the 6.0 agent to request config, we now have the ability to override network blockouts
    ' If the variable <ignoreBlockouts> is set to 1 config is requested during a total blockout
    ' If it is set to 0 the config request will be performed once the total blockout ends
    
    dim client
    set client = wscript.createobject ( "Altiris.AeXNSClient" )
    ignoreBlockouts = 1
    client.UpdatePolicies ignoreBlockouts

    To use DS 6.9 to tell the Symantec Management Agent to Send Basic Inventory you can run the following in a Run Script task:

    'vbscript (only if run from Deployment Server as an embedded Windows script)
    ' Cause the 6.0 agent to send basic inv
    ' We now have the ability to ignore blockouts and to send the basic inv only if something has changed
    ' The <ignoreBlockouts> variable works the same way as for config requests
    ' The <sendIfUnchanged> variable controls whether basic inv is sent even when it has not changed
    ' If <sendIfUnchanged> is 1 basic inv will be sent whether it has changed or not
    ' If it is 0 basic inv will be sent only if it has changed since the last time it was sent
    
    dim client
    set client = wscript.createobject ( "Altiris.AeXNSClient" )
    ignoreBlockouts = 1
    sendIfUnchanged = 1
    client.SendBasicInventory sendIfUnchanged, ignoreBlockouts

    They can be found on a DS under Samples > Misc jobs > Notification Server. Although labelled as NS 6.0 Jobs I think they work for NS 7.n as well.



  • 4.  RE: How to setup Update client configuration in DS 6.9

    Posted Apr 02, 2015 11:32 AM

    Thanks I got it, it work