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?