# PSexec

## In order to execute the command remotely, PsExec performs the following tasks:

```
Writes psexesvc.exe into the C:\Windows directory
Creates and spawns a service on the remote host
Runs the requested program/command as a child process of psexesvc.exe
```

### Run

```batch
./PsExec64.exe -i  \\FILES04 -u corp\jen -p Nexus123! cmd
```
