← Docs home
Use a Windows PowerShell Module to Deploy Your Cmdlets
📐 Rule.
Create a PowerShell module to package and deploy your cmdlets. Module support was introduced in PowerShell 2.0.
Two packaging paths.
- Use the assemblies that contain your cmdlet classes directly as binary module files
This is useful when testing your cmdlets.
- Create a module manifest that references the cmdlet assemblies
Snap-ins.
You can also add existing snap-in assemblies when using modules.