cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot get cmdagent to work through powershell

Nothing I've tried works. Anyone know how to make this happen with powershell?

I'm trying to use this in a powershell script which will run against a remote host.

So far the only way I've been able to run it remotely is using "PSexec cmd" to first open a remote CMD connection. But I'd like to avoid this in my script if possible.

2 Replies
McAfee Employee Hawkmoon
McAfee Employee
Report Inappropriate Content
Message 2 of 3

Re: Cannot get cmdagent to work through powershell

Hi itnithand,

I think this might be helpful to you.

https://community.mcafee.com/t5/ePolicy-Orchestrator/Powershell-script-to-deploy-McAfee-Agent-or-McA...

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 3 of 3

Re: Cannot get cmdagent to work through powershell

Are you running it as administrator or as system?  Try running it as system.  What is the exact command you are running?

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

More McAfee Tools to Help You

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