Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Pass Arguments in ClientTask.Run


I am trying to write a script that will, among other things, execute a command--however, it doesn't appear that I can pass the task arguments the way I can in the GUI. The only workaround I know of is to dynamically create the task with the desired arguments, import that task, run the task, and finally delete the task. This works but is extremely tedious and just seems like this should have already been implemented in the web api. Additionally is there a way to assign this task instead of performing a run now task. Some of the agents I need to perform this on will not be able to receive wake-up calls due to firewall constraints. I appreciate the support!

Best Regards

Message was edited by: dpierson on 10/15/12 3:05:37 PM CDT
You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community