Jump to content
eDecisions

Bitdefender - is it installed?

Recommended Posts

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"
}

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...