A small, sanitized PowerShell toolkit demonstrating practical automation and diagnostics for Windows endpoints.
The scripts in this repository reflect real-world system administration tasks such as health checks, deployment validation, and troubleshooting.
All examples are intentionally generic and contain no organization-specific infrastructure details.
PowerShell utilities focused on endpoint diagnostics, troubleshooting, and deployment readiness.
- Demonstrate a troubleshooting and automation mindset
- Show clear, reusable PowerShell structure
- Provide examples useful for Windows endpoint environments
- Keep all examples safe for public sharing
- Avoid organization-specific domains, server paths, or internal identifiers
docs/
Documentation and reference notes
examples/
Audit-OrphanedUserProfiles.ps1
Collect-SystemDiagnostics.ps1
Scan-EndpointHealth.ps1
Test-DeploymentReadiness.ps1
LICENSE
README.md
Scripts in the examples folder are intentionally sanitized so they can be safely shared publicly.
Collects a quick health snapshot from a Windows endpoint, including:
- Operating system information
- Disk status
- Service health
- Basic system diagnostics
Checks whether a system is ready for software deployment by validating:
- Disk space
- Operating system version
- Required services
- Basic environment readiness
Gathers troubleshooting information useful for diagnosing endpoint problems.
Examples of collected information may include:
- system configuration
- running services
- event log summaries
- environment details
Scans Windows user profile registry entries and identifies profiles that may be orphaned or in a failed state.
This script inspects the following registry location:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
and reports profiles with suspicious state values.
A typical endpoint troubleshooting workflow might look like:
- Run Scan-EndpointHealth.ps1 to capture a quick system overview
- Run Test-DeploymentReadiness.ps1 before pushing software updates
- Use Collect-SystemDiagnostics.ps1 for deeper troubleshooting
- Use Audit-OrphanedUserProfiles.ps1 to detect profile corruption or orphaned accounts
This project is released under the MIT License.
Barry M. Page