{"id":34904004,"url":"https://github.com/anitexs/my-pwsh-modules","last_synced_at":"2026-01-29T12:02:07.018Z","repository":{"id":329110266,"uuid":"1118158087","full_name":"AniTexs/My-PWSH-Modules","owner":"AniTexs","description":"Collection of all my PowerShell Modules put into one collection.","archived":false,"fork":false,"pushed_at":"2025-12-17T14:52:55.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-29T15:34:04.131Z","etag":null,"topics":["collection","powershell","powershell-7","powershell-adminscripts","powershell-module","powershell-modules","powershell-script","powershell-scripts"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AniTexs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-17T10:47:31.000Z","updated_at":"2025-12-17T14:52:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/AniTexs/My-PWSH-Modules","commit_stats":null,"previous_names":["anitexs/my-pwsh-modules"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AniTexs/My-PWSH-Modules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AniTexs%2FMy-PWSH-Modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AniTexs%2FMy-PWSH-Modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AniTexs%2FMy-PWSH-Modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AniTexs%2FMy-PWSH-Modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AniTexs","download_url":"https://codeload.github.com/AniTexs/My-PWSH-Modules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AniTexs%2FMy-PWSH-Modules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28877045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collection","powershell","powershell-7","powershell-adminscripts","powershell-module","powershell-modules","powershell-script","powershell-scripts"],"created_at":"2025-12-26T09:38:48.370Z","updated_at":"2026-01-29T12:02:07.013Z","avatar_url":"https://github.com/AniTexs.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My-PWSH-Modules\n\nI humbly welcome you to my little repo here :p\n\nCollection of PowerShell modules maintained in a single repository with automated build, test, and publish workflows.\n\n\u003e And yes, the markdown files are mostly AI Written, mainly because I suck at explaining stuff.\n\u003e I do use Copilot but for line completion and complex logic help :) nothing in this repository is built only by AI.\n\n## 📋 Overview\n\nThis repository serves as a centralized collection of PowerShell modules. Each module is independently versioned and can be published to the PowerShell Gallery (PSGallery). The repository includes a comprehensive build system with automated testing, code analysis, and publishing capabilities.\n\n## 📦 Available Modules\n\nHere you can view the Modules which currently exist in this Repository.\n\n|Module Name|Description|Link|\n|-|-|-|\n|PS.Capa.CapaOne|Unofficial API Wrapper for CapaSystems CapaOne|[PS.Capa.CapaOne](./modules/PS.Capa.CapaOne/)|\n|PS.ElasticShell|API Wrapper for interacting with ElasticSearch|[PS.ElasticShell](./modules/PS.ElasticShell/)|\n|PS.OC.Utilities|A module containing generic simple helper functions.|[PS.OC.Utilities](./modules/PS.OC.Utilities/)|\n|PS.PasswordState|Module to interact with PasswordState and works with SecretManagement to create vaults.|[PS.PasswordState](./modules/PS.PasswordState/)|\n|PS.ModelContextProtocol||[PS.ModelContextProtocol](./modules/PS.ModelContextProtocol/)|\n|PS.ModelContextProtocol.Example|A refernece module on how to create additional MCP Tools.|[PS.ModelContextProtocol.Example](./modules/PS.ModelContextProtocol/)|\n|PS.ModelContextProtocol.Generic|Generic MCP Tools.|[PS.ModelContextProtocol.Generic](./modules/PS.ModelContextProtocol/)|\n\nTo see all modules, check the [modules](./modules) directory.\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- PowerShell 7.0 or higher\n- Git\n- (Optional) Pester for testing\n- (Optional) PSScriptAnalyzer for code quality checks\n\n### Installation\n\nEach module can be installed from PSGallery once published:\n\n```powershell\nInstall-Module -Name ModuleName -Repository PSGallery\n```\n\n### Development Setup\n\n1. Clone this repository:\n   ```powershell\n   git clone https://github.com/AniTexs/My-PWSH-Modules.git\n   cd My-PWSH-Modules\n   ```\n\n2. Explore the modules:\n   ```powershell\n   Get-ChildItem ./modules\n   ```\n\n3. Import a module locally:\n   ```powershell\n   Import-Module ./modules/ModuleName/ModuleName.psd1\n   ```\n\n## 🏗️ Repository Structure\n\n```\nMy-PWSH-Modules/\n├── modules/              # All PowerShell modules\n│   └── ModuleName/      # Individual module directory\n├── build/               # Build and automation scripts\n├── .github/workflows/   # GitHub Actions CI/CD\n├── docs/                # Documentation\n├── CONTRIBUTING.md      # Contribution guidelines\n├── LICENSE              # MIT License\n└── README.md           # This file\n```\n\nFor detailed information about module structure, see [Module Structure Guide](./docs/MODULE_STRUCTURE.md).\n\n## 🛠️ Build and Test\n\nThis repository includes PowerShell scripts for building, testing, and publishing modules.\n\n### Build a Module\n\n```powershell\n./build/Build-Module.ps1 -ModuleName YourModule\n```\n\n### Run Tests\n\n```powershell\n# Test a specific module\n./build/Test-Module.ps1 -ModuleName YourModule\n\n# Test all modules\n./build/Test-All.ps1\n```\n\n### Code Analysis\n\n```powershell\n# Analyze a specific module\n./build/Invoke-Analyzer.ps1 -ModuleName YourModule\n\n# Analyze all modules\n./build/Invoke-Analyzer.ps1\n```\n\n### Publish to PSGallery\n\n```powershell\n# First, build the module\n./build/Build-Module.ps1 -ModuleName YourModule\n\n# Then publish (requires PSGallery API key)\n./build/Publish-Module.ps1 -ModuleName YourModule -ApiKey $env:PSGALLERY_API_KEY\n```\n\n## 🔄 CI/CD Pipeline\n\nThis repository uses GitHub Actions for continuous integration and deployment:\n\n- **CI Pipeline** (`ci.yml`): Runs on every push and pull request\n  - Builds all modules\n  - Runs PSScriptAnalyzer\n  - Executes all tests\n  - Runs on Ubuntu, Windows, and macOS\n\n- **Publish Pipeline** (`publish.yml`): Publishes modules to PSGallery\n  - Triggered by releases or manual workflow dispatch\n  - Validates and builds the module\n  - Publishes to PowerShell Gallery\n\n### Publishing a Module\n\nTo publish a module to PSGallery:\n\n1. Ensure your module version is updated in the manifest\n2. Create a release tag: `ModuleName-v1.0.0`\n3. The GitHub Action will automatically publish to PSGallery\n\nOr use manual workflow dispatch with the module name.\n\n## 🤝 Contributing\n\n**Important**: This repository accepts contributions to existing modules only. New modules should be created in your own repository.\n\nWe welcome contributions that:\n- Fix bugs in existing modules\n- Improve existing module functionality\n- Enhance documentation\n- Add tests\n\n**We do not accept:**\n- New modules (create your own repository instead)\n- Direct pushes of new modules\n\nPlease read [CONTRIBUTING.md](./CONTRIBUTING.md) for detailed guidelines.\n\n### Quick Contribution Guide\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b fix/your-fix`)\n3. Make your changes to existing modules\n4. Run tests and ensure they pass\n5. Commit your changes (`git commit -m 'Fix: description'`)\n6. Push to your fork (`git push origin fix/your-fix`)\n7. Open a Pull Request\n\n## 📄 License\n\nThis repository and all modules within it are licensed under the **MIT License**. See [LICENSE](./LICENSE) file for details.\n\n```\nMIT License\n\nCopyright (c) 2025 Nicolai Jacobsen\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n```\n\n## 📚 Documentation\n\n- [Module Structure Guide](./docs/MODULE_STRUCTURE.md) - Detailed guide on module structure and best practices\n- [Example Module Template](./docs/EXAMPLE_MODULE.md) - Template for creating new modules in your own repository\n- [Contributing Guidelines](./CONTRIBUTING.md) - How to contribute to existing modules\n\n## 🔧 Maintenance\n\n### Adding a New Module (Repository Owner)\n\nWhen adding a new module to this repository:\n\n1. Create the module directory: `modules/ModuleName/`\n2. Follow the [Module Structure Guide](./docs/MODULE_STRUCTURE.md)\n3. Ensure the module has:\n   - Module manifest (`.psd1`)\n   - Module script file (`.psm1`)\n   - README.md\n   - Tests\n4. Test locally before committing\n5. Update this README to list the new module\n\n## 🐛 Issues and Support\n\nIf you encounter issues with any module:\n\n1. Check the module's README for documentation\n2. Search existing issues in this repository\n3. Open a new issue with:\n   - Module name and version\n   - Description of the issue\n   - Steps to reproduce\n   - Expected vs actual behavior\n\n## 🌟 Acknowledgments\n\nThank you to all contributors who help improve these modules!\n\n## 📞 Contact\n\nFor questions or discussions, please open an issue in this repository.\n\n---\n\n**Note**: If you've created your own PowerShell module, we encourage you to publish it in your own repository and share it with the PowerShell community independently!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanitexs%2Fmy-pwsh-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanitexs%2Fmy-pwsh-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanitexs%2Fmy-pwsh-modules/lists"}