OperatorOSScriptForge
Menu
Script Actions
Verified OperatorOS Official
Official OperatorOS / security-edr

Datto EDR / HUNTAgent State Validation

Checks Datto/Kaseya/EDR services, agent processes, and installed software to confirm HUNTAgent state before Veradigm/Allscripts PM install.

Script Actions

Script Actions

Credibility

Last reviewed

Jul 8, 2026

Last tested

Jun 1, 2026

PowerShell

Windows PowerShell 5.1

Safety score

67/100

Documentation

100/100

Community rating

Coming soon

Downloads

Coming soon

Review status

approved

Verified by OperatorOS

Review

OperatorOS verified

Catalog

Official library

Safety

Static scan completed

Datto EDR / HUNTAgent State Validation is part of the official OperatorOS ScriptForge catalog. It has been reviewed for metadata completeness, safety scan results, PowerShell compatibility, and technician-facing documentation.

Script Body

# OperatorOS ScriptForge imported Xodus library script
# Workbook ref: SCR-002
# Title: Datto EDR / HUNTAgent State Validation
# Category: Security / EDR
# Ready state: Ready
# Workbook risk: medium
# Body type: PowerShell / Command Block

$OperatorOSFrameworkCandidates = @(
    (Join-Path -Path $PSScriptRoot -ChildPath '..\..\..\framework\OperatorOS-ScriptFramework.psm1'),
    (Join-Path -Path $PSScriptRoot -ChildPath '..\..\..\..\framework\OperatorOS-ScriptFramework.psm1')
)
$OperatorOSFrameworkPath = $OperatorOSFrameworkCandidates | Where-Object { Test-Path -LiteralPath $_ } | Select-Object -First 1
if ($OperatorOSFrameworkPath) {
    Import-Module $OperatorOSFrameworkPath -Force
}

$ErrorActionPreference = 'Stop'

Write-Host "`n=== Checking for Datto EDR / HUNTAgent service ===" -ForegroundColor Cyan

Get-Service -ErrorAction SilentlyContinue |
Where-Object {
    $_.Name -match "HUNT|Datto|Kaseya|EDR|Infocyte|Rocket|Cyber" -or
    $_.DisplayName -match "HUNT|Datto|Kaseya|EDR|Infocyte|Rocket|Cyber"
} |
Sort-Object DisplayName |
Format-Table Name, DisplayName, Status, StartType -AutoSize

Write-Host "`n=== Checking Datto/Kaseya/EDR processes ===" -ForegroundColor Cyan

Get-Process -ErrorAction SilentlyContinue |
Where-Object {
    $_.ProcessName -match "HUNT|Datto|Kaseya|EDR|Infocyte|Rocket|Cyber|Agent"
} |
Select-Object Id, ProcessName, Path |
Format-Table -AutoSize

Write-Host "`n=== Checking installed software entries ===" -ForegroundColor Cyan

$UninstallPaths = @(
    "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*",
    "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*"
)

Get-ItemProperty $UninstallPaths -ErrorAction SilentlyContinue |
Where-Object {
    $_.DisplayName -match "Datto|Kaseya|EDR|Endpoint|Infocyte|Rocket|Cyber"
} |
Select-Object DisplayName, DisplayVersion, Publisher, InstallDate, UninstallString |
Format-List

Requirements

  • Windows PowerShell 5.1 or newer for Windows Endpoint.
  • Required tooling: PowerShell.
  • Recommended run context: Elevated PowerShell on affected endpoint.

Parameters

No parameters documented.

Examples

Run script

Runs the imported OperatorOS script after reviewing parameters and placeholders.

./security-edr-datto-edr-huntagent-state-validation.ps1

Changelog

1.0.0 - Imported from Xodus / OperatorOS Script Library workbook with OperatorOS metadata, redaction notes, and framework bootstrap.