ok, I placed a module under 32 Bit PS - the funkction is executed so far.
So this script for requesting Defender status of all active servers works so far, but a working sensor with alarm in PRTG would be great now. Defender without centralised logging is really useless.
I am wonder, which values to use - I get "Externes Programm lieferte keinen Rückgabewert (Code: PE087)"
So the function returns several infos:
Host : {COMP1, COMP1}
Bereinigung erfolgreich : {True, False}
Virus Info : {file:_C:\Users\nico\AppData\Local\Temp\AppDownloader.exe,
file:_
fs\install\@GMT-2020.03.09-06.00.04\apps\Daemon
tools\DTLiteInstaller W10 7.exe}
Prozess : {C:\Temp\DTLiteInstaller W10 7 - PUATest.exe,
C:\Windows\explorer.exe}
ThreatStatusID Aktion : {4, 103}
aktueller Status (1 ist sicher) : {1, 1}
Should I use XML sensor instead?
Add comment