# Modules

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:

* The [integration points](https://doc.sitecorepowershell.com/modules/integration-points) contained within each module can be enabled or disabled globally. For this to take full affect the integration should be rebuilt in the ISE.
* Organization of custom scripts is a cinch.
* More reasons can be found in Adam's [post](https://github.com/SitecorePowerShell/Book/tree/9c7126d7a38df6ef372e8baef52f9a02baabd550/modules/\[https:/blog.najmanowicz.com/2014/11/01/sitecore-powershell-extensions-3-0-modules-proposal/]/README.md).

{% hint style="warning" %}
The *Platform* module is one you should avoid changing.
{% endhint %}

## Create a custom module

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*.

   ![New Module](https://165468320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LA37Eh9vuWwQHUTc2NT%2Fuploads%2Fgit-blob-37fd82f59ed85f3ab36558493a2aafd1e3316305%2Flibrary-createnewmodule.png?alt=media)
2. Enter the name for the new module and click *OK*.
3. Right click the new module and *Scripts -> Create libraries for integration points*.

   ![Integration Points](https://165468320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LA37Eh9vuWwQHUTc2NT%2Fuploads%2Fgit-blob-faf3c30cf01a748c179f598572c1237bd8511803%2Fmodule-createlibraries.png?alt=media)
4. Select the appropriate integration points for your module.

   ![Integration Point Libraries](https://165468320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LA37Eh9vuWwQHUTc2NT%2Fuploads%2Fgit-blob-851480cbcce72a76ca233ff9d3e7edee45ae5d59%2Fmodule-createtoolboxlibrary.png?alt=media)
5. Select the module and enable for use.

   ![Module Activation](https://165468320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LA37Eh9vuWwQHUTc2NT%2Fuploads%2Fgit-blob-cf1b510bc433841fbc44d3427c3d8e2be5793166%2Fmodule-activationdisabled.png?alt=media)
6. Open the ISE, switch to the *Settings* tab, and rebuild integrations.
