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?
Agent tasks: … run on the agent computer where the target object is managed Console tasks: … The target for the task could be a class based on Windows Computer Role representing the application installation on the server.
If its just one server and you need to create a custom class ,you could simply create a dummy registry value on the server in question and base your discovery on your custom class for that.
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.