A while ago I produced CSharpWinRM which was alright, but I wanted to look at the WinRM C++ API properly.
The project comes with an Aggressor Script for easy use:
Using credentials:
Without credentials:
Don't do what I did and put the command at the end and spend an hour being confused as to why the username was now whoami
...