Custom Inventory Rule

[KACE] Dell BIOS Admin Password Status Custom Inventory Field

To add a Custom Inventory Field (CIF) in Kace for Dell BIOS admin password status, use the below Custom Inventory Rule (CIR)

This CIF assumes that you have Dell Command | Monitor installed.

ShellCommandTextReturn(c:\windows\sysnative\WindowsPowerShell\v1.0\powershell.exe "invoke-command -ScriptBlock {Get-WmiObject -namespace "root\DCIM\SYSMAN" -Class DCIM_BIOSPassword| where-object {$_.AttributeName -eq 'AdminPwd'}|Select -ExpandProperty IsSet} -ErrorAction SilentlyContinue" 2> nul)

 

 

[KACE] Hard Disk Failure Prediction Custom Inventory Field

To add a Custom Inventory Field (CIF) in Kace for hard disk failure prediction, use the below Custom Inventory Rule (CIR)

ShellCommandTextReturn(powershell.exe "invoke-command -ScriptBlock {Get-WmiObject -Namespace root\wmi -Class MSStorageDriver_FailurePredictStatus|Select-Object -ExpandProperty PredictFailure -First 1} -ErrorAction SilentlyContinue" 2> nul)

 

This CIR will retrieve the first record returned by the command, which in most case, is the system disk.

 

[KACE] Symantec Endpoint Protection SyLink Custom Inventory Field

To add a Custom Inventory Field (CIF) in Kace for Symantec Endpoint Protection SyLink, use the below Custom Inventory Rule (CIR)

ShellCommandTextReturn(powershell.exe "invoke-command -ScriptBlock {write-host ([xml](Get-Content -Path 'C:\ProgramData\Symantec\Symantec Endpoint Protection\CurrentVersion\Data\Config\syLink.xml')).SelectSingleNode('//Server[1]').address} -ErrorAction SilentlyContinue" 2> nul)

 

This CIR will read the XML for the server SEP is communicating with.

 

[KACE] Symantec Desktop Encryption Status Custom Inventory Field

To add a Custom Inventory Field (CIF) in Kace for the encryption status of Symantec Desktop Encryption, use the below Custom Inventory Rule (CIR)

ShellCommandTextReturn("C:\Program Files (x86)\PGP Corporation\PGP Desktop\pgpwde.exe" --status)

 

Details of the command and reference can be found at :

https://support.symantec.com/en_US/article.TECH204285.html