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
Highlighted
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
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator