Quick Start

Get started with SystemChecks in minutes.

Import the Module

Import-Module systemchecks

View Available Commands

Get-Command -Module systemchecks

Run Your First Check

# Check if a Windows service is running
Test-ServiceHealth -ServiceName 'w3svc'

# Verify a file exists
Test-FileExists -FilePath "c:\my\file"

# Check a web endpoint
Test-URIHealth -URI "http://server/health"

Run Comprehensive Health Checks

Use a JSON configuration file to orchestrate multiple checks:

Get-SystemHealth -ConfigFileName ".\config_files\system1.json"

Available Functions

SystemChecks provides these core functions:

  • Get-SystemHealth - Orchestrate comprehensive health checks
  • Test-ProcessHealth - Check process status
  • Test-ServiceHealth - Verify Windows services
  • Test-FileExists - Check file existence
  • Test-ShareExists - Verify network shares
  • Test-ScheduledTask - Check scheduled tasks
  • Test-URIHealth - Test web endpoints
  • Test-TimeSync - Compare time sync between systems
  • Get-FileCount - Count files in directories
  • Get-Win32Error - Look up Windows errors

Next Steps