I'm not 100% sure I'm completely understanding your question, but I'll give it a shot - The commands issued by NCM to target devices for download\upload\reboot\etc are located in the individual device templates for each device type. Those templates are located in \Orion install path\SolarWinds\Orion\NCM\DeviceTypes. The NCM Admin guide gives some insight on how to modify those files depending on what you need them to do.
Kris Maxwell
Loop1 Systems