> For the complete documentation index, see [llms.txt](https://www.netexec.wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.netexec.wiki/wmi-protocol/command-execution.md).

# Command Execution

Execute Command using WMI

```bash
nxc wmi 192.168.255.131 -u user -p 'password' -x whoami
```
