I want to build a custom task which is only targeted to one of my management servers. But at the Target property i have to select a class. Do i really need to create a class which contains just one static server?

Best answer

Agent tasks: … run on the agent computer where the target object is managedConsole tasks: … The target for the task could be a class based on Windows Computer Role representing the application installation on the server.

Thanks for your reply Ruben. The agent type I have to use is the agent task because the task has to run on the agent side. But the main question was about the target. I will try to build the task targeting to a class with just one server object included.