Also, have a look at this article:
Setting up machines for Windows Remote Management (WinRM) deployment tasks
You may need to enable Remoting on a VM:
Enable-PSRemotingRead further.
Well this is the world we live in And these are the hands we're given...