Subscribe via E-mail

Your email:

Learn More

  • A blog by GSX-ers featuring our takes on the fascinating world of Messaging, Mobile and Collaboration Servers
bouton gsx monitoring whitePaper

bouton gsx video2

GSX Blog

Current Articles | RSS Feed RSS Feed

Powershell Tips and Tricks: How to Change Network Configuration in Windows 8 to Allow Remote PowerShell

  
  
  

powershell gsx solutions resized 600Today 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.

remote powershell network configuration windows8 1 resized 600

or 

remote powershell network configuration windows8 2 resized 600

The first way to avoid this is to disable the specific network, then you will be able to enable Remote Management:

remote powershell network configuration windows8 3 resized 600

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”:

remote powershell network configuration windows8 4 resized 600

Right click on the desired network and select "Properties". In the “Network Location” tab you can now change the type and permissions:

remote powershell network configuration windows8 5 resized 600

Click “OK” to validate.

Next, go back to the PowerShell Command Line and upgrade the Local Policy:

remote powershell network configuration windows8 6 resized 600

You can now enable WinRM:

remote powershell network configuration windows8 7 resized 600

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. 

describe the image
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!

 

Comments

this is just what i was looking for, thanks
Posted @ Saturday, July 20, 2013 5:39 AM by aTechMate
Post Comment
Name
 *
Email
 *
Website (optional)
Comment
 *

Allowed tags: <a> link, <b> bold, <i> italics