PowerShell script to find Windows defender version - needs to be inventoried in kace
fgHello Everyone, I'm trying to inventory windows Defender Files on kace and in the screenshot its the PS script to find out version - Is there a way this could be inventoried in Kace through Custom inventory ? If yes, what triggers do I need to use for Kace SMA 11+
Answers (3)
Top Answer
At first: Welcome.
Indeed, the Custom Inventory Rules are the best way to do so.
It would be something like:
The CIR are running during the check in of the clients.
You can also run it manually:
C:\program files (x86)\quest\kace\KDeploy.exe -custominventory (you always should do this only for testing or in SPECIAL circumstances)
For that you don't need 11.x, but ...
Since the 11.1 will come out soon, all versions before 11.0 will become EOL soon, which is important if you need help or similar. All Versions except 11.0 and 10.2 are EOL already, so: YES! You need to use a newer version.
If you search for "Inventory:" in the software, there is an entry for "Inventory: Bitlocker Recovery" with the publisher = "Quest | Timo Weberskirch)
I've used his code ShellCommandTextReturn(powershell -executionpolicy bypass -command "(Get-BitLockerVolume).KeyProtector") to implement a few custom invntory rules.
Just swap out (Get-BitLockerVolume).KeyProtector with your PowerShell command.