Hi,
I am trying to use script block to execute few commands on to my target machine from my host for the purpose of bringing hard disks to online and assign driveletters etc. For that I am using the
New-PSSessionusing local administrator
who has rights on my target VM. But fails with the below error.
Details: Target VM does not join the domain. Just booted up using vhd.
New-PSSession-ComputerName"WIN-OS1VN75JEFM"-Credential"WIN-OS1VN75JEFM\Administrator"
New-PSSession : [WIN-OS1VN75JEFM] Connecting to remote server WIN-OS1VN75JEFM failed with the following error message
: WinRM cannot process the request. The following error
with errorcode 0x80090311 occurred while using Kerberos authentication: There are currently no logon servers available to service the logon request.