User vote results: There were 6 votes to remove and 28 votes to keep. ![]() InstallLocation: C:\Program Files\McAfee\Agent\ĭataLocation: C:\ProgramData\McAfee\Agent\ĮpoServerList: |ĮpoServerLastUsed: . AssociatesCommon FrameworkCurrentEPOAGENT3000Install0409 folder. LogLocation: C:\ProgramData\McAfee\Agent\logs I saw detail version in path "C:\Program Files\McAfee\Agent\cmdagent.exe -i", then show output: Component: McAfee Agent If NOT defined Home "\\D:\software\MA_IN.exe -s"Īctually, when script is detected "already installed", I want to check version, when a version >= 5.7.6.251 version go to the end, when a version is low goes to uninstall via command "\\D:\software\MA_UN.exe -noreboot" `REG QUERY %MA_KEY_NAME% /v %MA_VALUE_NAME% 2^>nul`) DO ( The object is sent down the pipeline to Uninstall-Module and is uninstalled. Get-InstalledModule uses the Name parameter to specify the module. Get-InstalledModule -Name SpeculationControl Uninstall-Module. ![]() ![]() In this example, the pipeline is used to uninstall a module. Set MA_KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\McAfee\Agent"įOR /F "usebackq skip=2 tokens=1,2*" %%A IN ( Example 2: Use the pipeline to uninstall a module. Here is my script putting on log on script, OFF I want to use GPO deploy log on script for User Configuration to check the McAfee app version,
0 Comments
Leave a Reply. |