Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PowershellFrameworkCollective/PSModuleDevelopment
Provides tools that help with module development
https://github.com/PowershellFrameworkCollective/PSModuleDevelopment
Last synced: 5 days ago
JSON representation
Provides tools that help with module development
- Host: GitHub
- URL: https://github.com/PowershellFrameworkCollective/PSModuleDevelopment
- Owner: PowershellFrameworkCollective
- License: mit
- Created: 2017-09-07T22:58:22.000Z (about 7 years ago)
- Default Branch: development
- Last Pushed: 2024-05-31T06:41:14.000Z (5 months ago)
- Last Synced: 2024-08-01T16:45:41.905Z (3 months ago)
- Language: PowerShell
- Size: 1.54 MB
- Stars: 111
- Watchers: 13
- Forks: 23
- Open Issues: 42
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-powershell - PSModuleDevelopment - A module that provides tools for other modules and scripts. 🚀 (🔄 Module Development Templates)
- jimsghstars - PowershellFrameworkCollective/PSModuleDevelopment - Provides tools that help with module development (PowerShell)
README
# PSModuleDevelopment
Welcome to your one stop for PowerShell development tools!
This project is designed to help you with accelerating your coding workflows through a wide range of utilities.
Its flagship feature is a *templating engine* that allows you to swiftly create new projects - either by using some of the default templates or easily creating your own.## Online Documentation
As this module is part of the PSFramework project, its documentation can be found on [PSFramework.org](https://psframework.org/documentation/documents/psmoduledevelopment/templates.html).
> As ever, documentation takes time out of _"more features!"_, so there could be more, but at least the templating is covered in depth.
## Install
To get read to use this module, run this:
```powershell
Install-Module PSModuleDevelopment -Scope CurrentUser
```## Profit
With that you are ready to go and have fun with it.
A few examples of what it can do for you:> Create a new module project
```powershell
Invoke-PSMDTemplate MiniModule
```> Parse a script file and export all functions into dedicated files
```powershell
Split-PSMDScriptFile -File .\largescript.ps1 -Path .\functions
```> Fix all the file encodings
```powershell
Get-ChildItem -Recurse -File | Set-PSMDEncoding
```> Fix parameter blocks
```powershell
Get-ChildItem -Recurse -File | Set-PSMDCmdletBinding
```> Get better members
```powershell
Get-Date | Get-PSMDMember -Name ToString
```> Search for Assemblies and Types
```powershell
# List all assemblies
Get-PSMDAssembly# Search for types in that assembly
Get-PSMDAssembly *ActiveDirectory* | Find-PSMDType# Search for all types implementing IEnumerable
Find-PSMDType -Implements IEnumerable# Get Constructors
[DateTime] | Get-PSMDConstructor
```