> For the complete documentation index, see [llms.txt](https://docs.helmut.de/helmut4-releases/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.helmut.de/helmut4-releases/v4.13.0/helmut4-components/streamdesigner/nodes/actions/misc-21/os-5/cmd-execute-action.md).

# CMD Execute Action

The **CMD Execute Action** node can be used to run simple Windows command-line commands such as `hostname`, `uptime`, `start`, and similar commands.

This node can only be executed on a Windows client operating system within a client stream. Executing it in a server stream or on a different client OS will return the following message:\
`Invalid operating system — Windows required`.

{% hint style="info" %}
Complex or concatenated commands should be avoided. If more advanced execution is required, it is strongly recommended to create a batch file in advance and execute that file using this node.
{% endhint %}

The result of the node can be retrieved either via the [{stream.last\_result}](/helmut4-releases/v4.13.0/helmut4-components/streamdesigner/wildcards/result-or-return-wildcards-2/stream-last_result.md) wildcard or directly through [{node.result.?}](/helmut4-releases/v4.13.0/helmut4-components/streamdesigner/wildcards/result-or-return-wildcards-2/node-result.md).

When the **Async** option is enabled, no result is returned because the command runs in the background while the following node(s) are already being processed.

<figure><img src="/files/2gFnHkeoPoKh0rmxdNN9" alt="" width="350"><figcaption><p>CMD Execute Action</p></figcaption></figure>
