Skip to content

BrennanTechnologies/PowerShell-Public

Repository files navigation

Brennan Technologies Logo

PowerShell-Public

A collection of PowerShell scripts, modules, and technical documentation for server management, automation, and reporting. This repository provides practical examples for automating VMware, Veeam, SQL Server, and other related infrastructure tasks.

  • Modular, reusable code components and advanced functions to accelerate scripting projects.
  • Real-world examples and best practices for PowerShell development, including robust error handling, configuration management, and logging.
  • Custom classes and enums to enable structured, maintainable, and type-safe scripting.
  • Extensive documentation and configuration templates to help you get started quickly and adapt solutions to your environment.

Technical Design Documentation

The Technical Design Docs section contains detailed documentation and workflow diagrams for key solutions and scripts in this repository. These documents provide in-depth technical overviews, process flows, and implementation details to support development, troubleshooting, and knowledge transfer.

OneDrive Prep Script

Deleted Teams Sites Report

Features

  • Scripts & Utilities:
    • Standalone PowerShell scripts for system tasks, automation, and demonstrations
    • Examples include registry management, date calculations, file operations, and more
  • Modules:
    • Brennan.PowerShell.Core module with reusable functions and classes
    • Organized into Public, Private, Classes, Config, Enums, and Resources folders
  • Documentation:
    • Markdown files for classes, functions, enums, configuration, and usage examples
    • Getting started guide and module documentation
  • Classes & Enums:
    • Custom PowerShell classes for structured scripting
    • Enum definitions for robust, type-safe scripting
  • Configuration:
    • JSON configuration files for settings, error codes, and logging formats

Core Module Structure

PowerShell-Public/
├── Brennan.PowerShell.Core/      # Main module with subfolders for organization
│   ├── Classes/
│   ├── Config/
│   ├── Dev/
│   ├── Docs/
│   ├── Enums/
│   ├── Private/
│   ├── Public/
│   ├── Resources/
│   └── ...
├── _Misc PowerShell Scripts/     # Standalone scripts and utilities
├── Classes/                     # Additional class definitions
├── Config/                      # JSON config files
├── Enums/                       # Enum definitions
├── Resources/                   # Supporting resources
├── *.md                         # Documentation
├── *.ps1                        # Top-level scripts
└── ...