> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell/remote-desktop-manager-powershell/powershell-scripting/powershell-module.md).

# PowerShell module

Remote Desktop Manager supports Windows PowerShell. PowerShell is a powerful scripting tool that lets administrators automate Remote Desktop Manager. They are provided in a PowerShell module.

{% hint style="info" %}
The minimum required PowerShell version is 7.5.
{% endhint %}

### Manually install and import the Devolutions.PowerShell module

The Devolutions.PowerShell module is now available on the [PowerShell Gallery](https://www.powershellgallery.com/packages/Devolutions.PowerShell/). It can also be installed and imported using the commands below. Please see [Devolutions.PowerShell module](https://docs.devolutions.net/powershell/rdm-powershell/rdm-powershell-core-module/) for further instructions about the PowerShell module usage.

```powershell
Install-Module -Name Devolutions.PowerShell
Import-Module Devolutions.PowerShell
```

### Commands

To list all cmdlet commands, please enter this command:

```powershell
Get-Command -Module Devolutions.PowerShell
```

For more information on those commands, use the following command:

```powershell
get-help [command name] -Full
```

To generate a text file with all the commands, use the following commands:

```powershell
Get-Command -Module Devolutions.PowerShell -Type Cmdlet `
    | Sort-Object -Property Name `
    | Format-Table -Property Name `
    | out-file $env:temp\pshelp.txt

Get-Command -Module Devolutions.PowerShell `
    | ForEach-Object { get-help -name $_.Name -full } `
    | out-file -append $env:temp\pshelp.txt
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.devolutions.net/powershell/remote-desktop-manager-powershell/powershell-scripting/powershell-module.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.
