Page 2 of 2

Re: display registry key values

Posted: Wed Feb 24, 2021 5:09 pm
by ssax
You can try this:

Code: Select all

@echo off
FOR /F "tokens=*" %%g IN ('REG QUERY HKEY_LOCAL_MACHINE\Software\McAfee\Endpoint\Common\ /v ProductVersion ^| findstr ProductVersion') do (SET OUTPUT=%%g)
echo %OUTPUT:~28%
exit 0
Please note that helping write custom plugins is not included as a part of support. Any additional features will need to be implemented by you.