PowerShell Commands
Send PowerShell Commands

From the PowerShell Commands > Send PowerShell Command menu, open the window used to prepare and send commands to machines.
The window displays the machine list on the left, a central chat area and the controls at the bottom.
You can load commands saved as templates or describe the required operation in natural language and ask the AI to generate the PowerShell script.
Load a saved command
Saved templates can be loaded from the [Quick Commands] menu.
The selected command appears in the chat as a request, followed by the corresponding PowerShell script.
In this example, the “Update and Restart” quick command is loaded.

Generate a command with AI
Alternatively, you can enter a request in natural language in the chat and click [Create Command].
In this example, the request is to restart the Print Spooler service on the remote machine.
The system generates the PowerShell command and displays an explanation of the intended actions directly below it.
The Delete, Edit and Save icons appear beside the command.
They allow you to remove it, edit it or save it as a template, respectively.

Edit the script directly
Use the Edit icon to modify the PowerShell script directly.
The command opens in an editable area where you can correct or customise its contents.

Syntax error detection
Any syntax errors are highlighted and described below the command.
In this example, the closing curly brace is missing from the script block.
The system identifies the error and indicates its position so that the script can be corrected.

Test the command
The [Test Command] button performs formal validation without executing the command.
A positive result means that no formal errors were detected during the checks performed. It does not confirm that the command will work on the destination machine.
The result applies to the text and machine selection checked. After making changes, repeat the test.
In this example, the system also reminds you that at least one machine must be selected before sending the command.

Add operations through the chat
You can request further changes directly in the chat, adding operations to the command already generated.
In this example, a machine restart is requested in addition to restarting the Spooler service.
The system updates the script to include both operations and displays an explanation of the resulting command.

Remove or modify operations through the chat
You can also use the chat to request the removal or modification of previously added operations.
After each request, check the resulting script to ensure that it matches the intended operation.
In the screenshot, following the request to remove the machine restart, the final command uses
Get-Service -Name Spooler, which retrieves the status of the Spooler service.

Enabling the Run Command button
The [Run Command] button becomes available only when the command is valid and at least one machine has been selected from the list on the left.
When both requirements are met, the button becomes enabled and appears as shown in the image.

Run immediately or schedule execution
The command can be run immediately or scheduled using the menu beside [Run Command].
The available options are Run now, Run in 1h, Run outside working hours and Run tonight.
Select [Custom] to configure a specific schedule.

Sent PowerShell Commands

This window allows you to view commands that have already been sent and any associated responses.
Commands that returned an error are highlighted in red.
PowerShell Template List

This screen allows you to add, edit or delete custom templates.
Templates you create can be accessed from the [Quick Commands] menu in the “Send PowerShell Command” window.
