We have a Windows 8.1 Enterprise client that keeps getting this error when trying to do remoting:
(pre)Invoke-Command : Windows PowerShell remoting is not supported in the Windows Preinstallation Environment (WinPE).(/pre)
For some reason PowerShell thinks that the machine is running in the WinPE environment. But the machine is not.
Does anyone here know how PowerShell checks if it is running under WinPE?