cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 3

Powershell script to deploy McAfee Agent or McAfee Products?

Jump to solution

Is there a powershell script or command to deploy a McAfee Agent or any McAfee Product to any machine in our network?

1 Solution

Accepted Solutions
tao
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 3

Re: Powershell script to deploy McAfee Agent or McAfee Products?

Jump to solution

Haven't used PowerShell much - take a look at PowerShell Scripts to Install Application (EXE) or Update (MSU) using GPO

Possible PowerShell Script:

Install-Application -InstallerPath \\server\Software$\Path-Of-FramePkg-Program.exe  -InstallerParameters "/install=agent /silent" -RegistryKey HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Key-for-FramePkg -RegistryName DisplayVersion -RegistryValue ### -LogPath \\Server\Software$\logfiles\

Agent Install Command page 30: https://kc.mcafee.com/resources/sites/MCAFEE/content/live/PRODUCT_DOCUMENTATION/25000/PD25187/en_US/...

Why not use ePO for Agent & Product deployment?

If this information was helpful or has answered your question, please select Accept as Solution. This will assist other memebers

View solution in original post

2 Replies
tao
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 3

Re: Powershell script to deploy McAfee Agent or McAfee Products?

Jump to solution

Haven't used PowerShell much - take a look at PowerShell Scripts to Install Application (EXE) or Update (MSU) using GPO

Possible PowerShell Script:

Install-Application -InstallerPath \\server\Software$\Path-Of-FramePkg-Program.exe  -InstallerParameters "/install=agent /silent" -RegistryKey HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Key-for-FramePkg -RegistryName DisplayVersion -RegistryValue ### -LogPath \\Server\Software$\logfiles\

Agent Install Command page 30: https://kc.mcafee.com/resources/sites/MCAFEE/content/live/PRODUCT_DOCUMENTATION/25000/PD25187/en_US/...

Why not use ePO for Agent & Product deployment?

If this information was helpful or has answered your question, please select Accept as Solution. This will assist other memebers

View solution in original post

johnmoe
Level 11
Report Inappropriate Content
Message 3 of 3

Re: Powershell script to deploy McAfee Agent or McAfee Products?

Jump to solution

Something like:

Start-Process -FilePath 'Path\To\FramePkg.exe' -ArgumentList '/install=agent /silent'

should do the trick.  But like ​ says, why not use ePO?

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