--- title: "Commands sub-tab" slug: "commands-sub-tab" status: "update" updated: 2023-04-18T15:35:02Z published: 2023-04-18T15:35:02Z canonical: "docs.zpesystems.com/commands-sub-tab" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zpesystems.com/llms.txt > Use this file to discover all available pages before exploring further. # Commands sub-tab While Custom Commands can be executed through the WebUI and CLI, feedback and output of Custom Commands is only available on the CLI and not on the WebUI.![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1678800674398.png) ### About Custom Scripts Custom scripts required the following conditions: - Written in Python - “Command label” must match a function within the script - Located in */etc/scripts/custom_commands* **Custom script example**![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1678800758522.png) ### Create Commands This integrates Out-of-Band and Console-like configurations with the In-Band command. This can create specific types of commands: - Custom - Outlet - SSH - Telnet - Web ### Create Custom Command 1. Copy the custom script into */etc/scripts/custom*_commands. 2. Go to *Managed Devices :: Devices :: :: Commands*. 3. Click **Add**. 4. In **Command** drop-down, select **Custom Commands**. ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1678801385916.png) 5. Select **Enabled** checkbox. 6. In *Custom Commands* menu: 1. On **Script** drop-down, select one. 2. Select **Enabled** checkbox. 3. Enter **Comment Label** (short description). 7. Repeat, as needed. 8. Click **Save**. ### Create Outlet Command 1. Copy the custom script into */etc/scripts/custom*_commands. 2. Go to *Managed Devices :: Devices :: :: Commands*. 3. Click **Add**. 4. In **Command** drop-down, select **Outlet**. ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1678801309915.png) 5. Select **Enabled** checkbox. 6. To add, select in **PDU** textbox, click **Add** (moves to **Merged** textbox). 7. To remove, select in **Merged** textbox, click **Remove** (moves to **PDU** textbox). 8. Set **Cycle Interval (s)** (default: 3). 9. Click **Save**. ### Create SSH Command 1. Copy the custom script into */etc/scripts/custom*_commands. 2. Go to *Managed Devices :: Devices :: :: Commands*. 3. Click **Add**. 4. In **Command** drop-down, select **SSH**. ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1678801291152.png) 5. Select **Enabled** checkbox. 6. Select **Launch Local Application**. 7. In *SSH* menu, enter: 1. **User** 2. **IP Address** 3. **Port Number** (default: 22) 8. Click **Save**. ### Create Telnet Command 1. Copy the custom script into */etc/scripts/custom*_commands. 2. Go to *Managed Devices :: Devices :: :: Commands*. 3. Click **Add**. 4. In **Command** drop-down, select **Telnet**. ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1678801270934.png) 5. Select **Enabled**. checkbox. 6. Select **Launch Local Application**. 7. In *Telnet* menu, enter: 1. **User** 2. **IP Address** 3. **Port Number** (default: 22) 8. Click **Save**. ### Create Web Command 1. Copy the custom script into */etc/scripts/custom*_commands. 2. Go to *Managed Devices :: Devices :: :: Commands*. 3. Click **Add**. 4. In **Command** drop-down, select **Web**. ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1678801248297.png) 1. Select **Enabled**. 2. Enter **WEB URL** 5. Click **Save**. ### Device Access via RDP 1. Go to *Managed Devices :: Devices :: :: Commands*. 2. Click **Add** (displays dialog). 3. In **Command** drop-down, select **KVM**. 1. Select **Enabled** checkbox. 2. On **Protocol** drop-down, select one. 3. On **Type Extension** drop-down, select one. 4. Click **Save**.