# Modules

The Modules page provides information about the modules installed in the system.&#x20;

## Viewing Modules

You can view and search the modules accessible by PowerShell Universal by visiting the Platform \ Modules page. Searching provides a wildcard result of the modules found in each of the environments defined within PowerShell Universal.&#x20;

![](/files/98pLpEv94nNUadZSqrdm)

## Install Modules from the Gallery

{% hint style="info" %}
Available in PowerShell Universal 2.5 or later.
{% endhint %}

Modules can be installed from the PowerShell Gallery. To search for a module, you can change the drop down next to the search box from Local to PowerShell Gallery. Searches conducted will run against the Gallery rather than locally.&#x20;

Once a module is found, you'll be able to click the Install button to save it locally. Modules installed in this method will be installed into the Repository directory under Modules.&#x20;

## Creating Modules&#x20;

{% hint style="info" %}
Available in PowerShell Universal 2.5 or later.
{% endhint %}

You can also create modules directly in PowerShell Universal. These modules will be created in the Repository directory under Modules.&#x20;

These modules will be available in all environments.

To create a new module navigate to Platform \ Modules and click Create New Module. Define the module name and version.&#x20;

![](/files/hHNorwl1ravc6WjO6MoI)

Once created, the module will be listed under Universal Modules with the option to edit properties and content as well as delete the module.&#x20;

![](/files/Wv8JnZrSQyEEJvTFpDoS)

When editing the module, it will open a code editor where you can define functions, variables and aliases to export.&#x20;

![](/files/gnjQyXldzeuzhInJDQvI)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.powershelluniversal.com/master-1/platform/modules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
