1

I need to execute a remote command and pass credentials, so I've followed the answer here: What security setting is preventing Remote PowerShell 2.0 from accessing UNC paths

Problem is, I get the following error Enable-WSManCredSSP : This command cannot be executed because the setting cannot be enabled

I've checked event logs on both servers but can see nothing.

Any ideas?

Community
  • 1
  • 1
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200

1 Answers1

0

I found it! Problem was within the group policy editor I needed to prefix the name of the server I'm delegating to with "wsman/". This is as stated by the answer I referred to in my question, but I missed it! Many thanks for the answer.

Rob Bowman
  • 7,632
  • 22
  • 93
  • 200