Re:JPMorgan Chase & Co tracks employees to distopian extents
by redblacktree on Tuesday May 16, 2023 @01:23PM
(#35964969)
Here's a PowerShell script courtesy of ChatGPT to detect if Carbon Black is installed on your machine:
# Define the registry path where installed programs are listed
$registryPath = "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall*"
# Get the name of all installed programs from the registry
$InstalledPrograms = Get-ItemProperty -Path $registryPath | Select-Object -Property DisplayName
# Check if Carbon Black is among the installed programs
$CarbonBlackInstalled = $InstalledPrograms -match 'Carbon Black'
if ($CarbonBlackInstalled) {
Write-Output "Carbon Black is installed."
} else {
Write-Output "Carbon Black is not installed."
}
# Define the registry path where installed programs are listed $registryPath = "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall*"
# Get the name of all installed programs from the registry $InstalledPrograms = Get-ItemProperty -Path $registryPath | Select-Object -Property DisplayName
# Check if Carbon Black is among the installed programs $CarbonBlackInstalled = $InstalledPrograms -match 'Carbon Black'
if ($CarbonBlackInstalled) { Write-Output "Carbon Black is installed." } else { Write-Output "Carbon Black is not installed." }