I have a bunch of Windows 7 clients (PowerShell v2, PSRemoting enabled), which recently upgraded to WMF4. It looks like they’ve lost Microsoft.Powershell on the way.
Windows PowerShell Copyright (C) 2014 Microsoft Corporation. All rights reserved. PS C:\Windows\system32> get-pssessionconfiguration Name : microsoft.powershell.workflow PSVersion : 4.0 StartupScript : RunAsUser : Permission : BUILTIN\Administrators AccessAllowed, BUILTIN\Remote Management Users AccessAllowed
PS C:\> etsn WIN7BOX etsn : Connecting to remote server WIN7BOX failed with the following error message : The WS-Management cannot process the request. Cannot find the Microsoft.PowerShell session configuration in the WSMan: drive..
I do have a GPO that enables PSRemoting, and it does work on all other boxes (either shipped with Powershell v2 or v4). This …thing only happens with the v2->v4 “upgradees”.
Is there a more robust fix for this other than psexec-ing to each box and running Enable-PSRemoting? - This does fix it (puts Microsoft.Powershell back in there), but it’s as desirable as a frog in a blender.