Today I would like to share how I configured my network to allow remote PowerShell in Windows 8.
If you are trying to configure Windows Remote Management from the command or PowerShell prompt, it will not work while you're connected to a network defined as “public” in the Windows Network. The Sharing Center will generate errors related to the network connection type, listed below.
The first way to avoid this is to disable the specific network, then you will be able to enable Remote Management:
Another solution is to use the Network List Manager in the Group Policy Editor (gpedit.msc):
Deploy “Computer Configuration” / “Windows Settings” / “Security Settings” / “Network List Manager Policies”, then right click on “Show all Networks”:
Right click on the desired network and select "Properties". In the “Network Location” tab you can now change the type and permissions:
Click “OK” to validate.
Next, go back to the PowerShell Command Line and upgrade the Local Policy:
You can now enable WinRM:
And that's it! Your Remote PowerShell should now be successfully configured to the network on Windows 8. Want more "Tips and Tricks" on Powershell? Check out our article on Troubleshooting unknown PowerShell error messages.
Did you follow my instructions? Let me know how it worked out for you. If you have any questions, feel free to ask and I'll be happy to get back to you.
|Have you heard about "I Wish...Microsoft" yet? If you are attending TechED North America (GSX booth #417) or TechED Europe (GSX booth #34), make sure to stop by to enter for a chance to win some great prizes!|