Skip to content
View crunchypeanutbutter1's full-sized avatar

Block or report crunchypeanutbutter1

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Sysadmin Scripts & Projects

A collection of practical sysadmin scripts and automation utilities.

PowerShell Scripts

powershell/Add-UserToGroups.ps1

Copy AD group membership from one user to another with safer operational controls.

Highlights:

  • Supports -WhatIf / -Confirm (safe change previews)
  • Optional removal of target-only groups for strict parity
  • Optional CSV reporting for audit/change tracking
  • Handles both interactive prompts and non-interactive parameter usage

powershell/Get-MailboxSizeAudit.ps1

Read-only Exchange Online mailbox audit and quota compliance report.

Highlights:

  • Retry logic for transient failures and throttling scenarios
  • Detailed mailbox/quota reporting with CSV output
  • Summary section for over-quota and near-quota analysis
  • Optional file logging

powershell/Get-ServerHealthSnapshot.ps1

Collects quick local/remote Windows server health data in one pass.

Highlights:

  • Uptime, memory usage, disk usage summaries
  • Top memory-consuming processes
  • Automatic services that are stopped
  • Optional CSV export for daily operational snapshots

Portable Toolkit

windows/CSWinDiagToolkit

Portable CSWinDiag automation wrapper for field use.

Highlights:

  • Self-elevates to Administrator for UAC-safe execution
  • Stages cswindiag.exe into %ProgramFiles%\AdminTools automatically
  • Runs CSWinDiag and copies resulting ZIP into an easy-to-spot Desktop folder
  • Produces transfer notes suitable for copying to a flash drive and sending to Support

Pinned Loading

  1. crunchypeanutbutter1 crunchypeanutbutter1 Public

    PowerShell