Sitecore PowerShell Extensions provides an organization structure composed of modules, libraries, and scripts. Modules make up the highest level and can be grouped together by module folders.
Some benefits to using modules:
- Organization of custom scripts is a cinch.
Getting started with your own module is a short process and something you should do for all of your custom scripts.
- 1.Navigate to the Script Library item and Insert -> PowerShell Script Module.
- 2.Enter the name for the new module and click OK.
- 3.Right click the new module and Scripts -> Create libraries for integration points.
- 4.Select the appropriate integration points for your module.
- 5.Select the module and enable for use.
- 6.Open the ISE, switch to the Settings tab, and rebuild integrations.