Skip to content

About

An extendable PowerShell framework designed to automate server and workstation health monitoring. It operates on a controller-agent model using PowerShell Remoting to execute tests.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

926 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Get-ComputerHealth is a production-ready, lightweight, secure, and extensible PowerShell toolkit that installs in a flash. It scans your server, workstation, or fleet of domain servers for more than a hundred health indicators.

These include issues such as low RAM, missing updates, disk errors, and failed logins. They also include configuration changes, such as newly installed software, a TCP port that started listening, a host that stopped responding to pings, or a host that stopped accepting connections.

It produces useful, concise reports and email alerts. You can also add your own custom health tests with plain PowerShell scripts.

Example of the report you receive via email

Quick Documentation Map

Need Read
Install or run the toolkit Keep reading this README.md
Add local custom checks doc/user/custom-tests.md
Contribute code or built-in tests CONTRIBUTING.md
Understand the test suite doc/contributor/test-suite.md
Find the complete documentation map doc/README.md

Status / Is this toolkit for you?

This is a robust production-tested toolkit and I have been using it across several domains and multiple servers for more than a year.

BUT:

  1. Don't expect official support. I am happy to help when I can, but my availability is limited. You, or your AI agent, should be comfortable with PowerShell.
  2. I am currently the only user I know of, so there is a chance I have some blind spots.
  3. There's a tiny chance of breaking changes. I'll avoid them because I would have to clean up issues at several production sites. However, I will do it if the benefits are worth it to me.
  4. I have not tested it on domains with more than a few dozen servers, or with DCs connected via WAN. Some domain-related tests could cause excessive WAN traffic. Test while observing traffic. I would be glad to hear the results.

On the plus side, if you ever need to dive into the code, it is still approachable: the main health-test runner is about 2,000 lines, including comments. The built-in health tests add up to more than 10,000 lines, but most are individual scripts under 75 lines; some are longer or use shared helpers. The updater and HTML reporting code are more involved. Modern AI agents can readily navigate this structure and help understand or fix issues. In fact, the vast majority of the code was written by Codex, with me acting as the architect, lead developer, reviewer, and QC.

Comparison to PRTG, Zabbix

Pros: you can get from “nothing installed” to “definitely useful daily Windows health findings” in a minute, and adding custom tests is trivial.

Cons: it does not provide central dashboards, long-term metrics, escalation policies, maintenance windows, topology, dependency modeling, real-time monitoring, or support for non-Windows systems.

GetComputerHealth is intentionally smaller and focused on Windows administration. Out of the box, it includes many checks that Zabbix or PRTG can only reproduce through custom UserParameters, scripts, or purpose-built templates.

Examples include AD/GPO consistency, DNS/DHCP configuration hygiene, local hardening baselines, pending reboot/VSS/WMI/driver checks, unexpected open ports, stopped services, newly installed software, and others.

Security

By default, Invoke-GetComputerHealth.ps1 checks for updates before running health tests. The updater downloads and installs the selected GitHub release when it is not already installed. You can select another GitHub repository that publishes compatible release packages by setting RepoUrl in config\gch.psd1.

You can disable automatic updates by setting AutomaticUpdates = $false, or skip the update step for one run with -NoUpdate.

The toolkit runs in Windows PowerShell 5.1 without third-party PowerShell modules.

The default built-in health-test suite is read-only: its tests do not intentionally modify system configuration or the application data they inspect. Diagnostic queries may generate network traffic, update caches or logs, and activate services on demand. For example, a WMI query can start the WMI service, and listing VSS writers can trigger writer callbacks and diagnostic logging.

Built-in tests that intentionally make computer-state changes live under health-tests\HealthTests-that-do-change-state. The normal runner loads and runs them only when the administrator supplies -IReallyWantToRunTestsThatChangeState. -ListAllBuiltInTests loads their definitions for listing without executing the tests. Directly executing a script in that folder bypasses the runner's opt-in guard.

This read-only description applies to the default health checks. Installation, updates, reports, and suppression or policy-baseline tracking write the toolkit's own files. Custom tests can have additional side effects determined by their code.

GetComputerHealth may incidentally expose suspicious activity, but it is not a malware or intrusion-detection product. It prioritizes actionable, low-noise administrative findings over broad detection with frequent false positives. See the health findings and noise design decision.


1. Admin Guide: Installation

Requirements

Run installation and normal health scans from an elevated Windows PowerShell 5.1 session. -RunWithoutElevation bypasses the health runner's elevation check for diagnosis, but some tests will fail or return incomplete results without administrator access.

To receive emails with results/alerts, you need a mail server that permits unauthenticated delivery.

To centrally scan workstations or servers, you must be able to manage them with Remote PowerShell. For example, running Enter-PSSession ComputerName or Invoke-Command ComputerName should work. Domain-joined servers are usually centrally managed with zero configuration.

Super-simple customized install

Customize and run this:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/ndemou/GetComputerHealth/refs/heads/main/Update-GetHealthCode.ps1" -OutFile ".\Update-GetHealthCode.ps1"
& .\Update-GetHealthCode.ps1 -Config @{
    Options = @{
        InstallDir = 'C:\IT\Get-ComputerHealth'
    }
    ConfigFiles = @{
        'Send-Message.psd1' = @{
            Server = 'smtp.contoso.com'
            From   = 'SERVER01+alerts@contoso.com'
            To     = 'ops@contoso.com;admin@contoso.com'
        }
        'gch.psd1' = @{
            AutomaticUpdates = $true
            ShowAsPostponedWindowDays = 15
        }
    }
}

(You can also pass a file to -Config.)

Quick Run

C:\IT\Get-ComputerHealth\bin\Invoke-GetComputerHealth.ps1

For a domain-joined computer, supply the domain controllers' IPv4 addresses on the first run:

C:\IT\Get-ComputerHealth\bin\Invoke-GetComputerHealth.ps1 -IpsOfAllDcs @('10.1.2.3', '10.1.2.4')

The wrapper caches these addresses in temp\cache.IpsOfAllDcs.clixml for later runs. Without valid addresses, the runner skips domain-dependent tests. An IpsOfAllDCs key in gch.psd1 is not currently read.

Optional Active Diagnostics

GetComputerHealth includes a small, separately guarded class of diagnostics that may make small changes. We consider these tests highly safe on conventional systems and dangerous only in unusual or tightly constrained environments. To enable them on a particular run:

C:\IT\Get-ComputerHealth\bin\Invoke-GetComputerHealth.ps1 -IReallyWantToRunTestsThatChangeState

The gpupdate test actively refreshes Group Policy. A policy refresh is a routine Windows domain operation that happens automatically and is expected to apply configured settings, scripts, deployments, and Immediate Tasks safely. Running it during the health scan provides valuable end-to-end verification of the secure channel, domain-controller access, Group Policy client, and applicable policy processing. For conventional domain-joined systems, we encourage enabling it because that verification normally outweighs the small cost of one additional refresh.

The DCDIAG test actively runs comprehensive Microsoft domain-controller diagnostics. Some checks can create and remove temporary diagnostic data or refresh registrations while verifying Active Directory. These bounded actions are designed for routine domain administration and provide strong corroboration across important services, so we also encourage running DCDIAG on conventional domain controllers. Leave the switch off for unusually fragile, isolated, forensically preserved, or strictly change-controlled systems.

See the state-changing health-test design decision for the repository rules behind this separation.

Automatic Daily Monitoring of One Computer

  1. Test email delivery:
C:\IT\Get-ComputerHealth\bin\Send-Message.ps1 -Subject "First test from $($env:COMPUTERNAME)" -ConfigFile "C:\IT\Get-ComputerHealth\config\Send-Message.psd1" -Verbose

If it doesn't work, check the settings in config\Send-Message.psd1. Existing installations may use the legacy JSON file Send-Message.conf; reporting prefers that file when both exist.

  1. Schedule daily execution of Invoke-GetComputerHealth.ps1 (change 07:12):
C:\IT\Get-ComputerHealth\bin\Update-GetHealthCode.ps1 -ScheduleDailyInvokationAt 07:12

Automatic Daily Monitoring of Multiple Domain-Joined Computers

  1. Follow the instructions for monitoring a single computer on the management machine (the controller).

  2. Copy the code below into your editor and fill in the proper values on the three lines under CONFIGURATION:

State-change warning: This conventional domain-scan example deliberately enables -IReallyWantToRunTestsThatChangeState, so gpupdate and DCDIAG may perform their documented administrative changes on target computers. Remove the $invokeParameters['IReallyWantToRunTestsThatChangeState'] = $true line to use only the default built-in suite. The diagnostic side effects described under Security still apply, and updates and custom tests are controlled separately.

# Executes Invoke-GetComputerHealth.ps1 on all domain-joined servers and any configured workstations
param(
    [string]$Hide = "DIPS",
    [string[]]$OnlyTheseTests,
    [switch]$SkipSlowTests,
    [switch]$SkipPolicyTests,
    [switch]$SkipNonEssentialTests,
    [switch]$NoSendMessage,
    [switch]$NoUpdate
)

#------------------CONFIGURATION---------------------------
$IpsOfAllDcs = @("10.10.10.1", "10.10.10.2")
$WindowsServersToExclude="ServerName1,ServerName2"
$WorkstationsToInclude="WorkstationName1,WorkstationName2"
#----------------------------------------------------------

if (-not $NoUpdate) {
	# Update local version of GetComputerHealth (only when a new version is found)
	& C:\IT\Get-ComputerHealth\bin\Update-GetHealthCode.ps1
}

$invokeParameters = @{}
foreach ($entry in $PSBoundParameters.GetEnumerator()) {
    $invokeParameters[$entry.Key] = $entry.Value
}

# Preserve this wrapper's default and add its domain-scan configuration.
$invokeParameters['Hide'] = $Hide
$invokeParameters['Computers'] = "ALL_DOMAIN_SERVERS,$WorkstationsToInclude"
$invokeParameters['ExcludeServers'] = $WindowsServersToExclude
$invokeParameters['PushUpdate'] = $true
$invokeParameters['IpsOfAllDcs'] = $IpsOfAllDcs
$invokeParameters['IReallyWantToRunTestsThatChangeState'] = $true

& C:\IT\Get-ComputerHealth\bin\Invoke-GetComputerHealth.ps1 @invokeParameters
  1. Save it as C:\IT\bin\Invoke-GetHealthDomainComputers.ps1.

  2. Edit the scheduled task to execute this script instead of C:\IT\Get-ComputerHealth\bin\Invoke-GetComputerHealth.ps1.


2. Common Tasks

How to Manually Perform a Domain Health Check

Run C:\IT\bin\Invoke-GetHealthDomainComputers.ps1.

This scans all domain servers and any workstations you have configured and saves all findings as compressed CLIXML. When reportable findings exist, it also generates an interactive HTML report. Email follows the interactive/non-interactive defaults described below; use -SendReport on Invoke-GetComputerHealth.ps1 to force delivery. The options mentioned above can also be used. Extra options like -NoUpdate and -NoSendMessage are particularly handy here.

How to Suppress a finding (Permitlisting)

Policy inventory tests track items such as installed software, local Administrators group members, services, and listening TCP ports. On their first run, the runner normally records a baseline and suppresses that test's current notice/warning findings. Later additions produce findings for review. Use -DontAutosetPolicy on Get-ComputerHealth.ps1 to review the initial inventory without creating that baseline. Other health tests evaluate their own operational and configuration checks.

If a finding is expected or a false positive, you can permitlist it.

  1. Identify the permitlisting command: Open the generated HTML report or import temp\last-all-findings.clixml. Report rows include the command needed to permitlist the finding.
  2. Run that command on the target machine.

Advanced Tip: You can also permitlist findings manually: C:\IT\Get-ComputerHealth\bin\Get-ComputerHealth.ps1 -AddWhitelisting -ComputerName $env:computername -Signature 12345678 -Comment "Usually the description of the finding" -Until 2099-12-31

SuppressRepeats prevents repeated alerts for the same event, including a failed scheduled-task execution with a known last run time. See automatic repeat suppression for the 45-day rule, configured-suppression precedence, and report fields.

How to Require a Finding That Proves Something Good Is Present

Sometimes a question equally important as "was any bad thing detected?" is "was the expected thing detected?". For example:

  • was this TCP port listening?
  • was this process of service running?
  • was this role or feature installed?

You can acomplish this in two steps:

  1. Identify the signature of the finding you want to require.
  2. Mark it as required and provide a description for future-you:

C:\IT\Get-ComputerHealth\bin\Get-ComputerHealth.ps1 -SetAsRequired -ComputerName $env:computername -Test ListListeningPorts -Signature bfc162fa -Comment "Port 443(IIS) should be listening but is not"

IMPLEMENTATION DETAILS: Required findings are stored in C:\IT\Get-ComputerHealth\config\required_findings.psd1. When a configured test runs, Get-ComputerHealth records the signatures it emitted. If one of that test's required signatures is missing, Get-ComputerHealth emits a new failure explaining that the required finding was not produced.

How to Add Custom Tests

Follow these instructions

Interactive execution of tests

$results = C:\IT\Get-ComputerHealth\bin\Get-ComputerHealth.ps1 -OutputConsoleMessages -OutputObjects -Hide DIP
$results | ogv

Tips:

  • -OutputConsoleMessages generates the colorful output in your console.
  • -OutputObjects is what populates $results.
  • -Hide DIP hides Debug, Info, and Pass messages from the console, showing only Notices, Warnings, Failures, and Suppressed messages.
  • Available options let you skip slow tests (-SkipSlowTests), skip non-essential tests (-SkipNonEssentialTests), exclude specific tests (-ExcludeTests), run specific tests (-OnlyTheseTests), or explicitly enable the guarded active diagnostics (-IReallyWantToRunTestsThatChangeState). Autocomplete using - + TAB is your friend. -ListAllBuiltInTests will give you a list of all tests, including guarded tests that are not loaded by default.

Tip: Run one built-in test through the runner with Get-ComputerHealth.ps1 -OutputConsoleMessages -OnlyTheseTests PendingReboot. Direct script execution skips the runner's host-applicability checks, suppression handling, and state-change opt-in guard. HealthTest-DomainARecordPointsToDcIp.ps1 and HealthTest-InterfaceDnsServersUseDcs.ps1 also depend on the DC IP list that the runner initializes from -IpsOfAllDcs.


3. Architecture Overview

The toolkit operates on a Controller–Agent model, though it is agentless via PowerShell Remoting. You run the orchestration script on your management machine (the Controller). It executes tests on your servers or workstations (the Targets), aggregates the results into CLIXML and HTML reports, and emails them.

Think of the scripts as these layers:

  1. (Only for multiple domain joined targets) Invoke-GetHealthDomainComputers.ps1 is a very light wrapper around Invoke-GetComputerHealth.ps1.
  2. Invoke-GetComputerHealth.ps1 orchestrates update, target selection, remoting, collection, artifacts, and email.
  3. Get-ComputerHealth.ps1 runs the actual health tests for one target context.
  4. health-tests\HealthTest-*.ps1 scripts implement the default checks, with helper scripts alongside them. The runner includes health-tests\HealthTests-that-do-change-state\*.ps1 for execution only with the explicit opt-in switch; listing mode can load their definitions without running them.

Relationship Diagram

---
config:
  look: neo
  theme: redux
---
flowchart BT
 Operator["Operator (you@yourdomain.com)"]
 subgraph Controller["Controller"]
        Orchestrator["Invoke-GetComputerHealth.ps1"]
        Entry["Invoke-GetHealthDomainComputers.ps1"]
        Report["CLIXML + HTML files"]
        Mailer["Send-Message.ps1"]
        Files[".\data\all-messages-*.clixml.zip"]
 end
 subgraph Target["Target Computer"]
        LocalRunner["Get-ComputerHealth.ps1"]
        Updater["Update-GetHealthCode.ps1"]
        Tests["health-tests/*.ps1"]
        StateChangingTests["health-tests/HealthTests-that-do-change-state/*.ps1"]
        Config["Suppression File"]
 end
    Entry --> Orchestrator
    Orchestrator -- "1. Connects via WinRM" --> Target
    Orchestrator -- "4. Aggregates results" --> Report
    Report -- "5. Send HTML reports" --> Mailer
    Mailer -.-> Operator
    Report -- "Archive CLIXML data" --> Files
    Updater -- "2. Updates Scripts" --> LocalRunner
    LocalRunner -- "3. Executes" --> Tests
    LocalRunner -- "Only with explicit state-change switch" --> StateChangingTests
    Config --> LocalRunner

     Report:::Rose
     Config:::Rose
     Files:::Rose
     Operator:::Olive
     classDef Rose stroke-width:1px, stroke-dasharray:none, stroke:#FF5978, fill:#FFDFE5, color:#8E2236
     classDef Olive stroke-width:1px, stroke-dasharray:none, stroke:#80dd80, fill:#80dd80, color:#000000
     style Target fill:#FFF9C4
Loading

4. Script Components Breakdown

This section explains the role of each file in your C:\IT\Get-ComputerHealth\bin directory.

A. The Orchestrators

These are the scripts you actually execute.

Invoke-GetHealthDomainComputers.ps1

  • Role: The “Easy Button” wrapper for testing all domain servers and generating reports.
  • Function: By default, it tests all computers running a Windows Server OS, but you are free to edit it to add extra hosts or exclude others.
  • Usage: Run this manually or schedule it to run daily (via the SYSTEM account) to check the entire domain.
  • Note: You need to create this script yourself; an example is provided in this documentation.

Invoke-GetComputerHealth.ps1 (for one or more computers)

  • Role: The Engine/Orchestrator. It tests the local host by default or the computers you specify and generates reports.
  • Function: It manages the workflow:
    1. Connects to the local host or one or more remote computers.
    2. Checks for updates unless disabled; remote targets with the same embedded version can skip the update step.
    3. Runs the health checks.
    4. Saves all findings as compressed CLIXML, generates HTML for reportable findings, and optionally emails the report or an all-clear message. See reporting for artifact paths and suppression rules.
  • Key Parameters: -Computers (list of targets, local host by default), -ExcludeServers, -Hide (defines which message types to hide from console output, usually "DIPS").
  • Email default caveat: Invoke-GetComputerHealth.ps1 sends email by default in non-interactive contexts, and does not send by default in interactive contexts. If you first connect with Enter-PSSession and then run the script on the remote host, that remote PowerShell host can still appear non-interactive to the script. Use -NoSendReport inside Enter-PSSession when you do not want the default email report.
  • Email controls: -SendReport forces email, and -NoSendReport disables it and takes precedence if both are supplied. A SendReports key in gch.psd1 is not currently read by the reporting code.

5. Directory Structure Reference

Path Purpose
C:\IT\Get-ComputerHealth\bin\ All script files (.ps1).
C:\IT\Get-ComputerHealth\config\ Configuration files.
C:\IT\Get-ComputerHealth\config\required_findings.psd1 Optional required findings that must be emitted by selected built-in tests.
C:\IT\Get-ComputerHealth\config\Custom-HealthTests Optional custom health tests.
C:\IT\Get-ComputerHealth\temp\ Downloads, working files, latest CLIXML findings, and generated HTML reports.
C:\IT\Get-ComputerHealth\data\ Compressed CLIXML report archives and disk-format migration state.
C:\IT\Get-ComputerHealth\state\ Finding-observation state for automatic repeat suppression.
C:\IT\Get-ComputerHealth\log\ Logs of script execution.

6. Contributing

See CONTRIBUTING.md.

If you only want to add a few custom tests, you do not need to modify the core code. See doc/user/custom-tests.md.

7. List of Available Tests

(Run Get-ComputerHealth.ps1 -ListAllBuiltInTests to get an always up-to-date list.)

Name Description
ADInboundReplicationTopology Verifies that each domain controller has inbound AD replication partners and connection objects
AdminSDHolderCoverage Reports whether AdminSDHolder protection is currently applied to any users
ADReplicationHealth Uses repadmin and local RSAT cross-checks to detect AD replication failures and stale replication latency
ADViewConsistency Verifies that domain controllers agree on the DC list and FSMO role holders
Services Reviews service operational health, including auto-start services that are not running, abnormal service exit codes, and broken service payload paths
BitLockerStatus Checks whether detected volumes are protected by BitLocker
CertExpiry Checks LocalMachine\My certificates for expiration and reports identity, validity, usage context, and remediation guidance
ConnectivityToDCs Checks DNS resolution and TCP connectivity to discovered domain controllers
Dcdiag Actively runs comprehensive DCDIAG diagnostics, which may make limited diagnostic changes, and reports failures
DcDnsARecords Checks whether domain controller hostnames resolve to expected A records
DcDnsRegistration Checks whether this domain controller has registered its expected DNS records
DefaultLocale Checks whether the system locale matches the expected legacy language baseline
DefenderStatus Checks Microsoft Defender protection posture and signature freshness
DfsDiagTestDCs Runs DFSDIAG /TestDCs and reports unexpected DFS diagnostics output
DfsNamespaceEnumerate Checks whether DFS namespace roots and folders can be enumerated successfully
DfsrBacklog Checks DFS Replication backlog and warns when queued updates are high
DfsReplicationState Checks whether DFS Replication folders are in the Normal state
DhcpDnsCredential Verifies that DHCP dynamic DNS update credentials are configured and resolve to a valid AD account
DhcpInAd Checks whether a local DHCP server is authorized in Active Directory
DhcpScopeUtilization Checks DHCPv4 scopes for high address utilization
DisabledGpoLinksAtDomainRoot Checks for disabled or non-enforced GPO links at the domain root
DisksHaveFreeSpace Checks whether local disks have sufficient free space
DnsClientService Checks whether the DNS Client service is running
DnsForwarders Checks whether DNS forwarders are configured, private, and reachable
DnsRecursionConfig Checks whether DNS recursion settings follow the expected baseline
DnsScavenging Checks whether DNS scavenging and zone aging are enabled and configured sensibly
DnsSuffixBaseline Checks whether DNS suffix search settings match the expected domain baseline
DnsZoneReplicationScope Checks whether AD-integrated DNS zones use the expected replication scope
DnsZoneTransfers Checks whether DNS zone transfers are disabled or restricted as expected
DomainARecordPointsToDcIp Checks whether the domain A record points to a DC IP
DuplicateSpn Checks for duplicate Service Principal Names in Active Directory
EfsRecoveryAgents Checks whether EFS recovery agents are configured
EventLogMaxSizes Checks whether key Windows event logs meet the configured minimum size baseline
FailedLoginAttemptsRecent Checks the Security log for failed login attempts within the last 24 hours
FirewallEnabled Checks whether Windows Firewall profiles are enabled and the firewall service is available
GcPlacement Checks whether each AD site has a Global Catalog and the domain has at least one GC
GpoVersionConsistency Checks whether each GPO has matching AD and SYSVOL version numbers
GpupdatePolicyApply Actively applies Group Policy with gpupdate and reports whether computer and user policy processing succeeds
GpWmiFilterNamespacesOnLocalHost Checks whether Group Policy WMI filter namespaces are accessible on the local host
HotfixBaseline Checks whether all required hotfixes from the baseline are installed
HyperVReplicationHealth Checks Hyper-V VM replication health, missing replication, and running replica VMs
HyperVRunningVMs Lists running Hyper-V virtual machines on the host
IisBindings Checks IIS bindings for wildcard or otherwise risky binding configurations
ListRolesFeatures Lists installed Windows roles and features
InterfaceDnsServersUseDcs Checks whether member-server network interfaces use domain controllers as DNS servers
IPv6Binding Checks whether IPv6 is bound on network adapters as expected
IsTPMActivated Checks whether the TPM is present and activated
KerberosEncryptionTypes Checks for AD accounts that still permit weak RC4 Kerberos encryption
KrbtgtAge Checks whether the KRBTGT password has been rotated within the allowed age threshold
LargeDirectories Finds directories with more than 10000 child items
LdapSigningChannelBinding Checks whether DC LDAP signing and channel binding enforcement are enabled
ListInstalledPrograms Reports installed software not present in the baseline inventory
ListListeningPorts Lists externally reachable TCP listening ports with process and publisher context
LocalAcntRequirePass Checks whether local accounts require passwords
ListLocalAdmins Lists members of the local Administrators group
NetworkConnectionProfiles Checks network connection profiles and basic connectivity expectations for each active network
Nic Checks network adapters for unhealthy status or suspicious error counters
NltestSiteDiscovery Checks whether site discovery returns a valid AD site for the computer
ListScheduledTasks Lists persistent scheduled task definitions and reports short-lived one-shot tasks as informational
ListShares Lists SMB shares
ListServices Lists service definitions with payload publisher/hash context for policy review
ListStartupItems Lists startup items found in standard registry and startup-folder locations
ListTlsRegistryOverrides Lists explicit Schannel and Windows cryptography registry settings for policy review
NtdsLogVolumeFree Checks whether the NTDS log volume has enough free space
NtdsPathsLocation Checks whether the NTDS database and log paths are on expected volumes
NtfsDirtyBit Checks whether any NTFS volumes have the dirty bit set
NtlmHardening Checks whether NTLM hardening registry settings meet the security baseline
PagefileSanity Checks whether paging file configuration is present and sized sensibly
PendingReboot Checks for Windows pending-reboot indicators
PreWin2000Group Checks whether the Pre-Windows 2000 Compatible Access group has unexpected members
RamPressure Checks for sustained memory pressure using available memory and commit counters
RdpHardening Checks whether RDP is hardened with NLA enabled and a TLS certificate bound
RecentWindowsScan Checks whether Microsoft Defender has performed a recent quick scan
RecycleBinEnabled Checks whether Active Directory Recycle Bin is enabled
RequiredSrvRecords Checks whether required AD DNS SRV records resolve successfully
RestrictAnonymous Checks whether anonymous access hardening settings meet the baseline
ReverseZonesPresent Checks whether required reverse lookup zones exist
RodcPrp Checks whether each read-only domain controller has a Password Replication Policy configured
RunningProcesses Emits a suppressed inventory notice for each running process
SchanelBaseline Evaluates Client and Server Schannel protocol posture using explicit settings and Windows-version defaults
ScheduledTasks Reviews scheduled tasks for failed results, disabled required tasks, missed runs, stale runs, and unreadable metadata
SchemaVersionConsistency Checks whether all domain controllers report the same AD schema version
SeriousRecentEventLogs Checks recent event logs and minidumps for serious crash, disk, or application events
ServiceAccountsPwdNeverExpires Checks for service accounts whose passwords are set to never expire
ShadowStorage Checks whether Volume Shadow Copy storage is configured and sized within the recommended range
ShareReasonableness Checks SMB shares for risky or unreasonable share exposure
Shares Checks SMB sharing service hygiene when no shares are present
SingleDefaultGateway Checks for multiple default gateways and validates that the active gateway configuration is sensible
Smb1Disabled Checks whether SMBv1 is disabled
SmbSigningRequired Checks whether the SMB server requires signing when the server service is running
SoftwareLicensing Checks Windows software licensing state and activation status
DesktopSessions Checks for idle or disconnected RDP sessions older than the allowed threshold
Storage Checks physical disks for predictive failure, unhealthy status, temperature, and reliability warnings
SysvolAclHygiene Checks whether SYSVOL grants write access to overly broad principals
SysvolContentConsistency Checks whether SYSVOL policy content is present and consistent across domain controllers
SysvolNetlogonAccessible Checks whether each domain controller exposes reachable SYSVOL and NETLOGON shares
TimeSyncAccuracy Checks whether the local clock appears reasonably synchronized
TimeSyncPolicy Checks whether Windows Time is configured against the expected time source policy
TombstoneLifetime Checks whether the AD tombstoneLifetime meets the minimum baseline
TrustsVerify Verifies Active Directory trusts and reports any trust validation failures
UnconstrainedDelegationAccounts Checks for accounts that are configured for unconstrained delegation
UnsignedDrivers Checks for installed PnP driver packages that appear unsigned
UnusedEnabledAdapters Checks for enabled network adapters that are disconnected and likely unused
VssWriters Checks whether all VSS writers report stable or waiting states
WinRMListening Checks whether the WinRM service is running and responds to WSMan requests
WindowsUpdates Checks pending security updates, cached scan freshness, the online OS security baseline, and installation age
WmiRepository Checks whether the WMI repository is consistent

Known limitation: EfsRecoveryAgents calls certutil -recoveryagent. If certutil rejects that argument, the current test interprets the failed command as no recovery agents being configured. Verify the EFS recovery policy separately before acting on that finding.

About

An extendable PowerShell framework designed to automate server and workstation health monitoring. It operates on a controller-agent model using PowerShell Remoting to execute tests.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages