Showing results for 
Search instead for 
Did you mean: 

powershell.exe as registered executables


I have run out of ideas, may be somebody can help or give any hint. Powersehell.exe is registered executable. I created server task to run external command and using registered powershell and parameters are "-file script.ps1". Then I manually execute that server task, then script is executed twice - second time it is executed with some delay - based on log file, script is creating. Sometime second execution starts quite soon, sometime first run finishes and then second run executes immediately. If I take script and execute that directly from powershell.exe, then it run's only once and produces correct log file.  Script in general executes SQL query, AD queries, sends email and writes status messages to log file. executed as server task, it does everything that, but twice - instead of 2 email messages, it produces 4 and so on. ePO is 5.9.1 

Thanks in advance.

Labels (2)
1 Reply
McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: powershell.exe as registered executables

I apologize for the delay in answering.  Did you ever get this resolved?  If not, please open a ticket with McAfee so we can look at logs to figure out why it is doing this.

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