cancel
Showing results for 
Search instead for 
Did you mean: 
checco
Level 7
Report Inappropriate Content
Message 1 of 7

Task with Scripts

Hi

Has anyone an idea, how I can create ePO Task with other commands to execute?

Thank's in advance for your help, cheers

Checco
6 Replies

RE: Task with Scripts

There is an option to run a command after a DAT update in the McAfee agent policies.
d0x
Level 7
Report Inappropriate Content
Message 3 of 7

RE: Task with Scripts

Do you know if there are any limitation? For example bat files should go ok, but vbs are also ok? Or do I have to type cscript script.vbs to make it work?
Highlighted

RE: Task with Scripts

If you only type the vbs filename Windows should take care to start the correkt application. But you can also specify one, just try this with one test PC. I have only done this with an exe file and paramater - this worked well. But keep in mind that no system variables like %programfilesdir% will work, only absolute paths.
checco
Level 7
Report Inappropriate Content
Message 5 of 7

RE: Task with Scripts

Hi

Thank's for your reply, you mean under McAfee Agent / Updates/ "Post-update options"?

But this can't not be scheduled!

Cheers, Checco

Re: RE: Task with Scripts

If you can't get to the environment variables, how else could one get machine name?

Here's what I'm thinking:

Create/SetTag: "OldEEPC" when EEPC Version <5.1.9

Task: DATupdateOldEEPC, assign to machines with Tag = OldEEPC

In DATupdateOldEEPC:

assgin a batch job which has:

copy "c:\program files\McAfee...\sbclientlog.txt" \\server\share\LogFiles\%computername%.sbclientlog.txt

So now I can see all my log files in one folder.

But...I need some sort of unique identifier for each machine, so they don't overwrite each other. Can I get the name from EPO somehow?

McAfee Employee JoeBidgood
McAfee Employee
Report Inappropriate Content
Message 7 of 7

Re: RE: Task with Scripts

Hi...

Maybe extract it from HKey_Local_Machine\CurrentControlSet\Control\ComputerName\ActiveComputerName ?

Regards -

Joe

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