I'm confused how do I run psexec on nanoserver. I start nano server interactively docker run -it --rm --user ContainerAdministrator mcr.microsoft.com/powershell:lts-nanoserver-1809
Once I'm on console I downloaded and extracted pstools for nanoserver, trying to run cmd.exe as system or in fact running psexec64.exe by itself and passing any parameters to it does not produce any output, just returns back to command prompt with no errors or output
PS C:\out> .\PsExec64.exe -i -d -s cmd.exe
PS C:\out>