Thank you for your interest in contributing! This repository is focused on PowerShell tools for cybersecurity analysts, helping streamline log parsing, alert triage, threat hunting, and incident response workflows.
Click the Fork button in the top-right corner of this page to create your own copy.
Then, clone your fork locally:
git clone https://github.com/your-username/PowerShell-CyberTools.git
cd PowerShell-CyberToolsgit checkout -b feature/your-script-nameThis allows you to safely work on your script without affecting the main codebase.
- Place your script in the appropriate folder:
ThreatHunting/LogParsing/AlertTriage/DataEnrichment/Utils/
- Ensure your script includes:
- A
.SYNOPSISheader comment - Parameter support and input validation
try/catcherror handling where needed- Meaningful variable names and formatting
- A
Run your script to ensure:
- It works cleanly on Windows PowerShell and PowerShell Core
- Inputs are handled gracefully
- Output is readable and structured (
Format-Table,Export-Csv, etc.)
git add .
git commit -m "Add new script: brief description"
git push origin feature/your-script-nameGo to your fork on GitHub and click “Compare & pull request”. Please include:
- A short summary of what the script does
- Example output or how it’s useful
- Any dependencies (external APIs, modules)
- ✅ Use
param()for user input - ✅ Use
[PSCustomObject]for structured output - ✅ Use
Format-TableorExport-Csvfor readability - ✅ Add comments and documentation for future users
- ❌ Do not hardcode sensitive values (API keys, passwords)
- ❌ Do not include offensive or unethical code
If your script is based on a blog, research, or another open-source tool, please credit them in the comments.
If your script relates to vulnerability detection, red teaming, or network forensics:
- Avoid anything that simulates or launches actual attacks unless contained in lab-safe form
- Clearly label any potentially destructive actions (like file deletion or service modification)
Open a GitHub Issue or start a Discussion if:
- You're unsure where to place a script
- You want feedback before submitting
- You need help with PowerShell logic
Thank you for helping build better tools for defenders!