I will like know the versión of the agent of AV Mcafee and Endpoint , it's obvious that I do not have connection at ePo console.
I got this script:
$AgentVer = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey("LocalMachine",$Computer).OpenSubKey('HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\McAfee\AgentVersion').GetValue('AgentVersion')
$ProductVer = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine',$Computer).OpenSubKey('HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\McAfee\SystemCore').GetValue('')
" $AgentVer Agent version: $AgentVer
$computer Product version: $ProductVer
But when execute I obtain:
You cannot call a method on a null-valued expression. At line:2 char:1 + $AgentVer = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey("LocalMa ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull You cannot call a method on a null-valued expression. At line:3 char:1 + $ProductVer = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('Local ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull Agent version: 10.1.1.1 Product version:
I don't know how follow, any can help me ?
A greeting and thanks
________________________________________________________________________________________________________________
I am going to move this over to open source forum, as we don't deal with any custom scripts.
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?
I used to think that in order to buy or sell skins in various Steam games, I need some kind of script, mod or add-on. It's good that I decided to google and clarify this information, so I found https://skins.cash/. I haven't looked at many similar sites, but this one I liked the most for its interface.
Corporate Headquarters
6220 America Center Drive
San Jose, CA 95002 USA