I have not used OSD to any degree, I have played with the Provisioning Template, in there you can call vulscans, etc...
You cannot simply used SD to call Vulscan as Vulscan.exe and sdclient.exe cannot run at the same time.
We have had the need to call Vulscan as part of a package deployment and have used various tricks such as using the "Soon" command and also call a batch file that calls the vulscan, you need sdclient to not wait for the batch file to finish and you need to have a ping delay or other wait in the script to allow the sdclient task to finish before the vulscan runs....
If you are using the Provisioning Templates, you do not need to worry about that....
If this is purely for OSD then do not use software distribution (as in SDClient). Simply do an advanced edit and use REMEXEC commands to launch the commandlines for ldiscn32 and for vulscan. Provisioning would be better as it has built-in options for these, but you can do it in OSD.
LANDesk Silver ESP
The One-Stop Shop for LANDesk Enhancements
Update - WoW & State Notifier now integrate for even more functionality
Update - State Notifier now detects machine and user Idle states
And for both executables (vulscan.exe and ldiscn32.exe) goes that running them with /? will show you all options you can put on the command line to run them how you want.
I was able to find the Patching option in the provisioning templates however I do not see an option that stands out at least for running an inventory scan? Anyone know what that could be? I would rather use a built in LANDesk option than a batch file command.
There is no standard action for that. You need to use the execute file action to run ldiscn32.exe from the ldclient map with the appropriate parameters, for example:
c:\program files\LANDesk\ldclient\ldiscn32.exe /S=CORESERVER /NTT=CORESERVER:5007 /F /V
Replace CORESERVER with your own server name, or better even, use your global provisioning variable between %%.
Thank you Frank!