Book Image

Windows Server 2016 Hyper-V Cookbook - Second Edition

By : Charbel Nemnom, Patrick Lownds, Leandro Carvalho
Book Image

Windows Server 2016 Hyper-V Cookbook - Second Edition

By: Charbel Nemnom, Patrick Lownds, Leandro Carvalho

Overview of this book

Hyper-V 2016 is full of new features and updates. The second of our best-selling Hyper-V books, the Windows Server 2016 Hyper-V Cookbook has it all covered. Brimming with expert solutions and techniques, you?ll have everything you need to master virtualization and Hyper-V Manager. This Hyper-V book is designed to help advanced-level administrators benefit fully from the new Windows Server. With over 80 hands-on recipes, the Hyper-V Cookbook gives you tips, tricks and best practices to deploy, maintain and upgrade your virtual machines.
Table of Contents (19 chapters)
Windows Server 2016 Hyper-V Cookbook - Second Edition
Credits
About the Authors
Acknowledgments
www.PacktPub.com
Customer Feedback
Preface
Index

Enabling and working with remote connection and administration through PowerShell


Working with PowerShell can be very common for daily tasks and server management. However, as there is more than one server to manage, sometimes it can be difficult to log on and run the PowerShell scripts (most of the time, the same one) on different computers.

One of the benefits that PowerShell offers is the remote option that allows you to connect to multiple servers, enabling a single PowerShell window to administer as many servers as you need.

This recipe will show you how to enable PowerShell to be managed remotely and some commands to connect to different computers.

Getting ready

The PowerShell remote connection uses HTTP port 80. Although the local firewall exception is created by default when it's enabled, make sure that any other firewall has the exception to allow communication between your servers.

How to do it...

These tasks will show you how to enable the PowerShell Remoting feature to manage your...