Book Image

Windows Server 2016 Automation with PowerShell Cookbook - Second Edition

By : Thomas Lee, Ed Goad
Book Image

Windows Server 2016 Automation with PowerShell Cookbook - Second Edition

By: Thomas Lee, Ed Goad

Overview of this book

This book showcases several ways that Windows administrators can use to automate and streamline their job. You'll start with the PowerShell and Windows Server fundamentals, where you'll become well versed with PowerShell and Windows Server features. In the next module, Core Windows Server 2016, you'll implement Nano Server, manage Windows updates, and implement troubleshooting and server inventories. You'll then move on to the Networking module, where you'll manage Windows network services and network shares. The last module covers Azure and DSC, where you will use Azure on PowerShell and DSC to easily maintain Windows servers.
Table of Contents (21 chapters)
Title Page
Credits
About the Author
Acknowledgment
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Connecting to and managing a Nano Server


Nano Server is designed to be managed remotely without the use of remote desktop services or local console access. You can connect directly to your Nano Server or use other tools to carry out management functions.

Nano Server lacks a desktop experience and remote desktop capability. You use the Nano Server Recovery Console to do some basic network management and to view operating system information. You perform most configuration and management remotely.

Perhaps the simplest way to connect to and configure virtual machines (VMs) is for you to use PowerShell Direct, a new feature introduced in Windows Server 2016. PowerShell Direct enables PowerShell remoting to VMs via the hypervisor instead of using the network, without the need to access the recovery console or configure networking for the VM.

Getting ready

Your Nano Server should be running in Hyper-V, and you should have administrator access on the Hyper-V host and know the VM Name and administrator...