Posted June 21, 20204 yr Well until Pulse-way get around to integrating Bitdefender I needed some way to quickly see who was installed and who was not, this scrip adds an entry to the computer name as "NoBit" or "BitActive" depending weather or not the bitdefender service is found or not. then just visit Systems, Key in the name filed NoBit and hit search to see which clients are missing Bitdefender. Note, does not check if service is running or actually active, only that the service exist.   Suggestions Welcome.   #Written by eDecisions #Use to determine if Bitdefender is loaded $computername = (New-Object -ComObject WScript.Shell).RegRead("HKLM\SOFTWARE\MMSOFT Design\PC Monitor\ComputerName") $currentnameA = $computername -replace "BitActive" -replace "" $currentname = $currentnameA -replace "NOBit" -replace "" $serviceName = "EPSecurityService" If (Get-Service $serviceName -ErrorAction SilentlyContinue) { Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name ComputerName -Value "$currentname" , "BitActive" } Else { Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name ComputerName -Value "$currentname" , "NOBit" } Â
Create an account or sign in to comment