Skip to content

Repository files navigation

Enterprise Automation Toolkit

A collection of production-grade PowerShell tools for large-scale infrastructure orchestration and Active Directory management.

🏗 The Architecture: Solving the Kerberos Double-Hop

These tools were developed for a high-compliance enterprise environment to facilitate Automated Provisioning.

A core challenge in remote automation is the Kerberos Double-Hop issue, where credentials cannot be passed beyond the first remote server. This toolkit solves that by:

  1. SPN Orchestration: Programmatically managing Service Principal Names (SPNs) to ensure proper Kerberos delegation.
  2. Secure Execution: Utilizing a custom remote execution engine that leverages CredSSP and ScriptBlock Casting to allow for local execution on remote targets, enabling complex multi-server provisioning workflows.

🛠 Featured Tools

1. Active Directory SPN Auditor (Get-EnterpriseSPN.ps1)

Business Value: Ensures Kerberos delegation is correctly configured for automated services.

  • Problem Solved: Automates the discovery and validation of SPNs to prevent authentication failures during multi-tier deployments.
  • Technical Highlights: LDAP querying via DirectorySearcher and Regex string parsing.

2. Remote Orchestration Engine (Invoke-RemoteScriptBlock.ps1)

Business Value: The "plumbing" for enterprise-wide remote provisioning.

  • Problem Solved: Handles the secure hand-off of automation scripts to remote endpoints. It manages DNS validation, WSMAN health checks, and 15-minute retry logic for resilient provisioning in flaky network environments.
  • Technical Highlights: Dynamic ScriptBlock creation and PSSession management.

3. Server Configuration Auditor (Report-ServerInventory.ps1)

Business Value: Automated "as-built" documentation for newly provisioned servers.

  • Problem Solved: Validates that a server was provisioned correctly by auditing OS, Storage, IIS, and SQL Server states in one pass.

🧰 Technical Skills Demonstrated

  • Security & Identity: Kerberos, SPN, CredSSP, and Active Directory internals.
  • Remote Orchestration: WinRM, PSSessions, and Resilient execution logic.
  • Systems Engineering: IIS (Web) and SQL Server (Data) configuration management.

Note: These tools are provided as-is for educational purposes. All scripts have been sanitized to remove sensitive organization-specific data.

About

A collection of production-ready PowerShell tools for Active Directory management, remote server orchestration, and cross-platform infrastructure auditing.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages