You need to set your execution policy.
Run powershell as admin
If you run
So run
now try your
This worked for me on windows 8.1
Run powershell as admin
If you run
Get-ExecutionPolicy you will find that you're probably set to restricted. So run
Set-ExecutionPolicy RemoteSigned and then hit [Y] to allow the change.now try your
Import-Module SSH-SessionsThis worked for me on windows 8.1