Technical Guide and System/Server Management Scripts
Last updated: February 16, 2026
Author: Paul Namalomba
- SESKA Computational Engineer
- SEAT Backend Developer
- Software Developer
- PhD Candidate (Civil Engineering Spec. Computational and Applied Mechanics)
Contact: kabwenzenamalomba@gmail.com
Website: paulnamalomba.github.io
Overview
A collection of system management scripts, automation utilities, and technical power user guides for developers, system administrators, and engineers. This repository provides mostly in-depth guides covering databases, containers, messaging systems, security, and enterprise authentication.
Contents
- Technical Guide and System/Server Management Scripts
- Overview
- Contents
- Purpose
- Repository Structure
- Power User Guides
- PowerShell Scripts
- Getting Started
- Usage Examples
- Contributing
- License
- Acknowledgments
- Statistics
Purpose
This repository serves two primary purposes:
- Technical Documentation: Comprehensive power user guides for backend engineers, platform engineers, security engineers, and SREs covering enterprise-level technologies
- Automation Scripts: Production-ready PowerShell scripts for Windows system management, file operations, GitHub workflows, and development automation
All guides follow a consistent template with quickstart instructions, key concepts, configuration best practices, security considerations, detailed examples, troubleshooting tips, and performance tuning recommendations.
Repository Structure
system-management_scripts/
├── guides/ # Technical power user guides
│ ├── AUTH_SERVICES_*.md # Enterprise authentication (OAuth2, OIDC, SAML, SCIM)
│ ├── DOCKER_*.md # Container management and orchestration
│ ├── DOTNET_*.md # .NET libraries (BCrypt, RabbitMQ)
│ ├── POSTGRESQL_*.md # Database administration
│ ├── REDIS_*.md # In-memory caching
│ ├── SSL_TLS_*.md # Certificate management
│ ├── DJANGO_MULTI-AUTHENTICATION_*.md # Django authentication strategies
| ├── C_SHARP_*.md # C# guides
| ├── MEMORY_MANAGEMENT_*.md # Memory management guides (C#, C++, Python, JavaScript)
│ └── VI_*.md # Text editor mastery
│
├── windows/ # PowerShell automation scripts
│ ├── directory-navigation.ps1 # Quick directory navigation
│ ├── document-conversion.ps1 # Document format conversion
│ ├── file-operations.ps1 # File/folder operations
│ ├── file-system_management.ps1 # Filesystem utilities
│ ├── filesize-lister.ps1 # Directory size analysis
│ ├── github-management.ps1 # GitHub workflow automation
│ ├── job-scheduler_template.ps1 # Task scheduling
│ ├── media-download.ps1 # Media download utilities
│ ├── profile-management.ps1 # PowerShell profile setup
│ ├── python-environment.ps1 # Python environment management
│ └── utility-functions.ps1 # General utilities
│
└── README.md # This file
Power User Guides
Enterprise Authentication & Identity
-
AUTH_SERVICES_CSHARP_POWERUSER_GUIDE.md
OAuth 2.0, OIDC, SAML, JWT implementation in C#; ASP.NET Core authentication; SCIM provisioning; token lifecycle management -
AUTH_SERVICES_POWERSHELL_POWERUSER_GUIDE.md
Azure AD management with Microsoft Graph; service principal automation; conditional access policies; certificate-based auth
Programming LAnguages, Data Structures & Identity
-
BATCH_THREADING_AND_MPI_FOR_LARGE_DB_OPS.md
Efficiently performing large database operations using batch processing, threading, and MPI; memory management; performance tuning; Python and C++ implementations -
C_SHARP_PROGRAMMING_DATA_STRUCTURES.md
C# development with PowerShell integration; compiling and running C# code; automating builds; interop scenarios -
MEMORY_MANAGEMENT_CSHARP_POWERUSER_GUIDE.md
C# memory management on Windows; value vs reference types; stack vs heap storage; copy semantics; nullability features -
MEMORY_MANAGEMENT_CPP_POWERUSER_GUIDE.md
C++ memory management on Windows (MSVC); value vs reference semantics; stack vs heap storage; copy semantics; nullability -
MEMORY_MANAGEMENT_PYTHON_POWERUSER_GUIDE.md
Python memory management (CPython on Windows); value vs reference semantics; heap storage; copy semantics; nullability -
MEMORY_MANAGEMENT_JAVASCRIPT_POWERUSER_GUIDE.md
JavaScript memory management (Node.js on Windows); value vs reference types; heap-managed objects; copy semantics; nullability
Django Development
-
DJANGO_MULTI-AUTHENTICATION_POWERSHELL_POWERUSER_GUIDE.md
Implementing authentication in Django applications; OAuth2 and JWT integration; user management; security best practices; setting up multi-factor authentication in Django; integrating with third-party MFA providers; enhancing application security -
DJANGO_MULTI-AUTHENTICATION_PYTHON_POWERUSER_GUIDE.md
Implementing authentication in Django applications; OAuth2 and JWT integration; user management; security best practices; setting up multi-factor authentication in Django; integrating with third-party MFA providers; enhancing application security -
DJANGO_MULTI-AUTHENTICATION_BASH_POWERUSER_GUIDE.md
Implementing authentication in Django applications; OAuth2 and JWT integration; user management; security best practices; setting up multi-factor authentication in Django; integrating with third-party MFA providers; enhancing application security
.NET Development
-
DOTNET_BCRYPT_CSHARP_POWERUSER_GUIDE.md
Password hashing with BCrypt.Net-Next; secure authentication patterns; work factor tuning; ASP.NET Core integration -
DOTNET_RABBITMQ_CSHARP_POWERUSER_GUIDE.md
RabbitMQ message broker integration; exchange patterns; dead-letter queues; connection pooling; async patterns
Containerization & DevOps
- DOCKER_POWERSHELL_POWERUSER_GUIDE.md
Docker container management on Windows; multi-stage builds; Docker Compose; volume management; networking
Databases
-
BATCH_THREADING_AND_MPI_FOR_LARGE_DB_OPS.md
Efficiently performing large database operations using batch processing, threading, and MPI; memory management; performance tuning; Python and C++ implementations -
POSTGRESQL_16_BASH_POWERUSER_GUIDE.md
PostgreSQL administration on Linux; performance tuning; backup strategies; replication; query optimization -
POSTGRESQL_16_POWERSHELL_POWERUSER_GUIDE.md
PostgreSQL administration on Windows; connection pooling; automated backups; monitoring -
REDIS_POWERSHELL_POWERUSER_GUIDE.md
Redis in-memory caching; data structures; persistence; clustering; PowerShell client integration
Security & Networking
-
SSL_TLS_BASH_POWERUSER_GUIDE.md
Certificate management on Linux; OpenSSL operations; certificate authorities; TLS configuration -
SSL_TLS_POWERSHELL_POWERUSER_GUIDE.md
Certificate management on Windows; PKI infrastructure; automated certificate rotation; IIS configuration
Development Tools
- VI_POWERUSER_GUIDE.md
Vi/Vim text editor mastery; navigation; editing commands; macros; configuration
PowerShell Scripts
Directory Navigation
- directory-navigation.ps1
- Quick navigation functions for common directories:
ChDir-Work- Navigate to work directoryChDir-Documents- Navigate to Documents folderChDir-Downloads- Navigate to Downloads folderChDir-Desktop- Navigate to DesktopChDir-OneDrive- Navigate to OneDrive directory
File Operations
- file-operations.ps1
- File and folder operations in PowerShell:
MoveItem-Overwrite- Move with automatic overwriteCopyItem-Safe- Safe copy with conflict handlingRemove-EmptyDirectories- Clean up empty folders recursivelyGet-FileHash-Bulk- Compute hashes for multiple filesCompare-DirectoryContent- Compare two directory structures
GitHub Management
- github-management.ps1
- Automated GitHub repository workflows:
Manage-GitHubAppDev- Full repository management workflowInitialize-GitRepository- Initialize new repositoriesCreate-GitTag- Create and push tagsCreate-GitHubRelease- Automated release creationSync-GitHubFork- Keep forks synchronized
Document Conversion
- document-conversion.ps1
- Document format conversion utilities:
Convert-MarkdownToHtml- Markdown to HTML conversionConvert-MarkdownToPdf- Markdown to PDF conversionConvert-HtmlToPdf- HTML to PDF conversionBatch-ConvertDocuments- Bulk document conversion
Python Environment
- python-environment.ps1
- Python environment management:
New-PythonVenv- Create virtual environmentsActivate-PythonVenv- Activate virtual environmentInstall-PythonPackages- Bulk package installationExport-PythonRequirements- Generate requirements.txtUpdate-PythonPackages- Update all packages
Profile Management
- profile-management.ps1
- PowerShell profile configuration:
Install-PowerShellProfile- Set up custom profileAdd-ProfileFunction- Add functions to profileBackup-PowerShellProfile- Backup profile configurationRestore-PowerShellProfile- Restore from backup
Utility Functions
- utility-functions.ps1
- General-purpose utilities:
Test-Administrator- Check admin privilegesGet-SystemInfo- Display system informationTest-InternetConnection- Network connectivity checkGet-InstalledSoftware- List installed applicationsMeasure-CommandTime- Benchmark command execution
File System Management
- file-system_management.ps1
- Advanced filesystem utilities:
Get-LargestFiles- Find largest files in directory treeGet-DuplicateFiles- Detect duplicate files by hashCompress-OldFiles- Archive files older than specified dateExport-DirectoryStructure- Generate directory tree report
File Size Lister
- filesize-lister.ps1
- Directory size analysis:
Get-DirectorySize- Calculate folder sizes recursivelyExport-SizeReport- Generate size report CSVFind-LargeDirectories- Identify space-consuming folders
Media Download
- media-download.ps1
- Media download utilities:
Download-YouTubeVideo- Download YouTube videosDownload-Playlist- Download entire playlistsConvert-MediaFormat- Convert media formatsExtract-AudioFromVideo- Extract audio tracks
Job Scheduler
- job-scheduler_template.ps1
- Task scheduling framework:
New-ScheduledTask- Create scheduled tasksRegister-TaskScheduler- Register with Windows Task SchedulerRemove-ScheduledTask- Remove scheduled tasksGet-TaskStatus- Check task execution status
Getting Started
Prerequisites
For PowerShell Scripts:
- Windows 10/11 or Windows Server 2016+
- PowerShell 7.0 or later (recommended)
- Administrator privileges (for some operations)
For Guides:
- Relevant technology installed (Docker, PostgreSQL, Redis, etc.)
- Basic understanding of the technology stack
- Command-line familiarity
Installation
- Step 1. Clone the repository:
git clone https://github.com/paulnamalomba/system-management_scripts.git
cd system-management_scripts
- Step 2. Set execution policy (if needed):
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
- Step 3. Import scripts into your PowerShell session:
# Import all functions from a script
. .\windows\file-operations.ps1
. .\windows\github-management.ps1
# Or add to your PowerShell profile for persistent availability
- Step 4. Add to PowerShell Profile (Optional):
# Edit your profile
notepad $PROFILE
# Add this line to source scripts automatically
Get-ChildItem "C:\Path\To\system-management_scripts\windows\*.ps1" | ForEach-Object { . $_.FullName }
Usage Examples
Example 1: Quick Directory Navigation
# Load navigation functions
. .\windows\directory-navigation.ps1
# Navigate to work directory
ChDir-Work -workPath "C:\Projects"
# Navigate to OneDrive
ChDir-OneDrive
Example 2: GitHub Workflow Automation
# Load GitHub management functions
. .\windows\github-management.ps1
# Automated commit, tag, and release
Manage-GitHubAppDev `
-appName "my-project" `
-commitTag "v1.2.0" `
-commitMessage "Added new features and bug fixes" `
-method "update"
Example 3: File Operations
# Load file operations
. .\windows\file-operations.ps1
# Move with overwrite
MoveItem-Overwrite -Src "C:\Source\File.txt" -Dest "C:\Destination\File.txt"
# Find and remove empty directories
Remove-EmptyDirectories -Path "C:\Projects" -Recurse
Example 4: Python Environment Setup
# Load Python environment functions
. .\windows\python-environment.ps1
# Create new virtual environment
New-PythonVenv -Path ".\venv" -PythonVersion "3.11"
# Activate environment
Activate-PythonVenv -Path ".\venv"
# Install packages from requirements.txt
Install-PythonPackages -RequirementsFile ".\requirements.txt"
Example 5: System Analysis
# Load utility functions
. .\windows\utility-functions.ps1
# Check if running as administrator
if (Test-Administrator) {
Write-Host "Running with admin privileges"
}
# Get system information
Get-SystemInfo
# List installed software
Get-InstalledSoftware | Where-Object { $_.Name -like "*Visual Studio*" }
Example 6: Using Technical Guides
# Navigate to guides directory
cd guides
# View available guides
Get-ChildItem *.md | Select-Object Name
# Open a guide in your default markdown viewer
Start-Process .\DOCKER_POWERSHELL_POWERUSER_GUIDE.md
# Or view in terminal with bat (if installed)
bat .\POSTGRESQL_16_POWERSHELL_POWERUSER_GUIDE.md
Contributing
Contributions are welcome! Please follow these guidelines:
- Step 1. Fork the repository
- Step 2. Create a feature branch:
git checkout -b feature/amazing-feature - Step 3. Commit your changes:
git commit -m 'Add amazing feature' - Step 4. Push to the branch:
git push origin feature/amazing-feature - Step 5. Open a Pull Request
Contribution Guidelines
For PowerShell Scripts:
- Follow PowerShell best practices and style guidelines
- Include comment-based help for all functions
- Add parameter validation and error handling
- Test on PowerShell 7+ before submitting
For Technical Guides:
- Follow the existing template structure
- Include practical, copy-paste ready examples
- Cover security considerations and best practices
- Add troubleshooting section with common issues
- Include references and further reading
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- PowerShell community for extensive documentation and examples
- Microsoft Graph PowerShell SDK team
- Open-source contributors to the technologies covered in guides
- DevOps and SRE communities for best practices
Statistics
- Power User Guides: 15 comprehensive technical guides
- PowerShell Scripts: 11 automation script collections
- Technologies Covered: Docker, PostgreSQL, Redis, RabbitMQ, Azure AD, SSL/TLS, .NET, and more
- Lines of Documentation: 10,000+ lines of technical documentation
- Code Examples: 100+ production-ready code snippets
Last Updated: December 13, 2025
Repository Status: Active Development
PowerShell Version: 7.0+
Windows Compatibility: Windows 10/11, Server 2016+