Kaseya Community

Script to only run on DHCP servers

This question is answered

I have a script that i only want to run on my DHCP servers. Figured i can just use an IF statement that checks for existence of a certain file. Are there any files unique to only DHCP servers? 

Dont think there's a unique process (.exe) that runs. 

Verified Answer
  • Figured it out myself. There's a windows service called DHCPServer

All Replies
  • Figured it out myself. There's a windows service called DHCPServer

  • or the dhcp files in %systemroot%\system32\dhcp ?

  • Or create a View for DHCP servers using the Agent Label , then create a policy based on the view and add your script to the policy and assign the policy at the Global Org level