Are there any scripts to remotely update the Client Config for Notification Server 5.5 client or Altiris Agent 6.0?
With the Deployment Solution 5.6 to 6.x ability, to run Visual Basic scripts through AClient, Deployment Server jobs can be created that will have AClient do the VB script to manage the Notification Server client.
In Deployment server, when creating the Run Script event when embedded in Windows, use this command as the first line:
'vbscript (see the first scripted example for format)
VB script to force NSclient 5.5 and Altiris Agent 6.0 to Update Config:
'vbscript (only if run from Deployment Server as an embedded Windows script)
This will cause the client or agent to request config; it works for 5.5 and 6.0:
dim client set client = wscript.createobject ( "Altiris.AeXNSClient" ) dim policymgr set policymgr = client.ClientPolicyMgr policymgr.Refresh
Altiris Agent Update config request with ignore Blockouts: This will cause the 6.0 agent to request config and provides 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
This will force Notification Server client 5.5 and Altiris Agent 6.x to send Basic Inventory:
dim client set client = wscript.createobject ( "Altiris.AeXNSClient" ) client.ClientPolicyMgr.SendBasicInventory
This will cause the Altiris Agent 6.x to Send Basic Inventory and ingnore blockout.
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
Imported Document ID: HOWTO5275
Subscribing will provide email updates when this Article is updated. Login is required.