O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Windows Server 2016 Cookbook

Book Description

Sauté your way through more than 100 hands-on recipes designed to prepare any server administrator to work with Windows Server 2016

About This Book

  • Get the first book on the market to unleash the power of Windows Server 2016, which improves the lives of thousands of enterprise users
  • Be the first to leverage the advent of Containers and Nano Server on Windows Server 2016, which utilizes the resources efficiently and increases productivity.
  • This practical, recipe-based approach helps you to delivering global-scale cloud services into your infrastructure using Windows Server 2016

Who This Book Is For

This book is for system administrators and IT professionals with experience in Windows Server 2012 R2 environments who are looking to acquire the skills and knowledge necessary to manage and maintain the core infrastructure required for a Windows Server 2016 environment.

What You Will Learn

  • Build the infrastructure required for a successful Windows network
  • Navigate the new Server 2016 interface efficiently
  • Implement solid networking and security practices into your Windows Server environment
  • Design your own PKI and start issuing certificates today
  • Explore the brand-new Nano Server functionality
  • Enable nested virtualization on Hyper-V and Server
  • Connect your remote laptops back to the corporate network using Microsoft's own remote access technologies, including DirectAccess
  • Provide a centralized point for users to access applications and data by configuring Remote Desktop Services
  • Compose optimal Group Policies
  • Facilitate task automation with PowerShell 5.0 scripting

In Detail

This hands-on Cookbook is stuffed full of practical recipes that will help you handle the essential administrative tasks in Windows Server 2016. You’ll start by familiarizing yourself with the look and feel of Windows Server 2016, and will then learn how to navigate through some daily tasks using the graphical interface. You will see how to compose optimal Group Policies and facilitate task automation with PowerShell 5.0 scripting. We will also take a look at the functions available to provide remote network access to your traveling users, and explore the much anticipated Nano Server and Hyper-V built-in integration support that is brand new in Windows Server 2016.

By the end of this book, you will know how to take your Windows Server 2016-powered server and turn it into any common infrastructure role that might be required in your company.

Style and approach

The book follows a recipe-based approach that starts with an introduction and the installation of Windows Server 2016, then dives into the powerful features, and then ends with the concept of security.

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

Table of Contents

  1. Windows Server 2016 Cookbook
    1. Windows Server 2016 Cookbook
    2. Credits
    3. About the Author
    4. About the Reviewer
    5. www.PacktPub.com
      1. Why subscribe?
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Sections
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
        5. See also
      5. Conventions
      6. Reader feedback
      7. Customer support
        1. Errata
        2. Piracy
        3. Questions
    7. 1. Learning the Interface
      1. Introduction
      2. Shutting down or restarting the server
        1. Getting ready
        2. How to do it…
        3. How it works…
      3. Launching Administrative Tools
        1. Getting ready
        2. How to do it…
        3. How it works…
      4. Using WinKey + X for quick admin tasks
        1. Getting ready
        2. How to do it…
        3. How it works…
      5. Using the search function to launch applications quickly
        1. Getting ready
        2. How to do it…
        3. How it works…
      6. Managing remote servers from a single pane with Server Manager
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      7. Using PowerShell to accomplish any function in Windows Server
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Installing a role or feature
        1. Getting ready
        2. How to do it…
        3. How it works…
      9. Administering Server 2016 from a Windows 10 machine
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      10. Identifying useful keyboard shortcuts in Server 2016
        1. Getting ready
        2. How to do it…
        3. How it works…
      11. Setting your PowerShell Execution Policy
        1. Getting ready
        2. How to do it…
        3. How it works…
      12. Building and executing your first PowerShell script
        1. Getting ready
        2. How to do it…
        3. How it works…
      13. Searching for PowerShell cmdlets with Get-Help
        1. Getting ready
        2. How to do it…
        3. How it works…
    8. 2. Core Infrastructure Tasks
      1. Introduction
      2. Configuring a combination Domain Controller, DNS server, and DHCP server
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      3. Adding a second Domain Controller
        1. Getting ready
        2. How to do it…
        3. How it works…
      4. Organizing your computers with Organizational Units
        1. Getting ready
        2. How to do it…
        3. How it works…
      5. Creating an A or AAAA record in DNS
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      6. Creating and using a CNAME record in DNS
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      7. Creating a DHCP scope to assign addresses to computers
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Creating a DHCP reservation for a specific server or resource
        1. Getting ready
        2. How to do it…
        3. How it works…
      9. Pre-staging a computer account in Active Directory
        1. Getting ready
        2. How to do it…
        3. How it works…
      10. Using PowerShell to create a new Active Directory user
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      11. Using PowerShell to view system uptime
        1. Getting ready
        2. How to do it…
        3. How it works…
    9. 3. Security and Networking
      1. Introduction
      2. Requiring complex passwords in your network
        1. Getting ready
        2. How to do it…
        3. How it works…
      3. Using Windows Firewall with Advanced Security to block unnecessary traffic
        1. Getting ready
        2. How to do it…
        3. How it works…
      4. Changing the RDP port on your server to hide access
        1. Getting ready
        2. How to do it…
        3. How it works…
      5. Multi-homing your Windows Server 2016
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      6. Adding a static route into the Windows routing table
        1. Getting ready
        2. How to do it…
        3. How it works…
      7. Using Telnet to test a connection and network flow
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Using the Pathping command to trace network traffic
        1. Getting ready
        2. How to do it…
        3. How it works…
      9. Setting up NIC Teaming
        1. Getting ready
        2. How to do it…
        3. How it works…
      10. Renaming and domain joining via PowerShell
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      11. Building your first Server Core
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
    10. 4. Working with Certificates
      1. Introduction
      2. Setting up the first Certification Authority server in a network
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      3. Building a Subordinate Certification Authority server
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      4. Creating a certificate template to prepare for issuing machine certificates to your clients
        1. Getting ready
        2. How to do it…
        3. How it works…
      5. Publishing a certificate template to allow enrollment
        1. Getting ready
        2. How to do it…
        3. How it works…
      6. Using MMC to request a new certificate
        1. Getting ready
        2. How to do it…
        3. How it works…
      7. Using the web interface to request a new certificate
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Configuring Autoenrollment to issue certificates to all domain joined systems
        1. Getting ready
        2. How to do it…
        3. How it works…
      9. Renewing your root certificate
        1. Getting ready
        2. How to do it…
        3. How it works…
    11. 5. Internet Information Services
      1. Introduction
      2. Installing the Web Server role with PowerShell
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      3. Launching your first website
        1. Getting ready
        2. How to do it…
        3. How it works…
      4. Changing the port on which your website runs
        1. Getting ready
        2. How to do it…
        3. How it works…
      5. Adding encryption to your website
        1. Getting ready
        2. How to do it…
        3. How it works…
      6. Using a Certificate Signing Request to acquire your SSL certificate
        1. Getting ready
        2. How to do it…
        3. How it works…
      7. Moving an SSL certificate from one server to another
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Rebinding your renewed certificates automatically
        1. Getting ready
        2. How to do it…
        3. How it works…
      9. Hosting multiple websites on your IIS server
        1. Getting ready
        2. How to do it…
        3. How it works…
      10. Using host headers to manage multiple websites on a single IP address
        1. Getting ready
        2. How to do it…
        3. How it works…
    12. 6. Remote Access
      1. Introduction
      2. DirectAccess planning question and answers
      3. Configuring DirectAccess, VPN, or a combination of the two
        1. Getting ready
        2. How to do it…
        3. How it works…
      4. Pre-staging Group Policy Objects to be used by DirectAccess
        1. Getting ready
        2. How to do it…
        3. How it works…
      5. Enhancing the security of DirectAccess by requiring certificate authentication
        1. Getting ready
        2. How to do it…
        3. How it works…
      6. Building your Network Location Server on its own system
        1. Getting ready
        2. How to do it…
        3. How it works…
      7. Enabling Network Load Balancing on your DirectAccess servers
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Adding VPN to your existing DirectAccess server
        1. Getting ready
        2. How to do it…
        3. How it works…
      9. Replacing your expiring IP-HTTPS certificate
        1. Getting ready
        2. How to do it…
        3. How it works…
      10. Reporting on DirectAccess and VPN connections
        1. Getting ready
        2. How to do it…
        3. How it works…
    13. 7. Remote Desktop Services
      1. Introduction
      2. Building a single server Remote Desktop Services environment
        1. Getting ready
        2. How to do it…
        3. How it works…
      3. Adding an additional RDSH server to your RDS environment
        1. Getting ready
        2. How to do it…
        3. How it works…
      4. Installing applications on a Remote Desktop Session Host server
        1. Getting ready
        2. How to do it…
        3. How it works…
      5. Disabling the redirection of local resources
        1. Getting ready
        2. How to do it…
        3. How it works…
      6. Shadowing another session in RDS
        1. Getting ready
        2. How to do it…
        3. How it works…
      7. Installing a printer driver to use with redirection
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Removing an RD Session Host server from use for maintenance
        1. Getting ready
        2. How to do it…
        3. How it works…
      9. Publishing WordPad with RemoteApp
        1. Getting ready
        2. How to do it…
        3. How it works…
      10. Tracking user logins with Logon/Logoff scripts
        1. Getting ready
        2. How to do it…
        3. How it works…
    14. 8. Monitoring and Backup
      1. Introduction
      2. Using Server Manager as a quick monitoring tool
        1. Getting ready
        2. How to do it…
        3. How it works…
      3. Using the new Task Manager to its full potential
        1. Getting ready
        2. How to do it...
        3. How it works…
      4. Evaluating system performance with Windows Performance Monitor
        1. Getting ready
        2. How to do it…
        3. How it works…
      5. Using Format-List to modify PowerShell data output
        1. Getting ready
        2. How to do it…
        3. How it works…
      6. Configuring a full system backup using Windows Server Backup
        1. Getting ready
        2. How to do it...
        3. How it works…
      7. Recovering data from a Windows backup file
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Using IP Address Management to keep track of your used IP addresses
        1. Getting ready
        2. How to do it…
        3. How it works…
      9. Checking for viruses in Windows Server 2016
        1. Getting ready
        2. How to do it…
        3. How it works…
    15. 9. Group Policy
      1. Introduction
      2. Creating and assigning a new Group Policy Object
        1. Getting ready
        2. How to do it…
        3. How it works…
      3. Mapping network drives with Group Policy
        1. Getting ready
        2. How to do it…
        3. How it works…
      4. Redirecting the My Documents folder to a network share
        1. Getting ready
        2. How to do it…
        3. How it works…
      5. Creating a VPN connection with Group Policy
        1. Getting ready
        2. How to do it…
        3. How it works…
      6. Creating a printer connection with Group Policy
        1. Getting ready
        2. How to do it…
        3. How it works…
      7. Using Group Policy to enforce an Internet proxy server
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Viewing the settings currently enabled inside a GPO
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      9. Viewing the GPOs currently assigned to a computer
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      10. Backing up and restoring GPOs
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      11. Plugging in ADMX and ADML templates
        1. Getting ready
        2. How to do it…
        3. How it works…
    16. 10. File Services and Data Control
      1. Introduction
      2. Enabling Distributed File System and creating a Namespace
        1. Getting ready
        2. How to do it…
        3. How it works…
      3. Configuring Distributed File System Replication
        1. Getting ready
        2. How to do it…
        3. How it works…
      4. Creating an iSCSI target on your server
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      5. Configuring an iSCSI initiator connection
        1. Getting ready
        2. How to do it…
        3. How it works…
      6. Configuring Storage Spaces
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
          1. Storage Spaces Direct
          2. Storage Replica
      7. Turning on data deduplication
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      8. Setting up Windows Server 2016 work folders
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
    17. 11. Nano Server and Server Core
      1. Introduction
      2. Configuring Server Core from the console
        1. Getting ready
        2. How to do it…
        3. How it works…
      3. Switching between Server Core and Desktop Experience?
        1. Getting ready
        2. How to do it…
        3. How it works…
      4. Building your first Nano Server
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
          1. Nano Server Image Builder
      5. Exploring the Nano Server console
        1. Getting ready
        2. How to do it…
        3. How it works…
      6. Managing Nano and Core with Server Manager
        1. Getting ready
        2. How to do it…
        3. How it works…
      7. Managing Nano and Core using remote MMC tools
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Managing Nano and Core with PowerShell remoting
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
    18. 12. Working with Hyper-V
      1. Introduction
      2. Creating a Windows Server that runs Hyper-V
        1. Getting ready
        2. How to do it…
        3. How it works…
      3. Creating a Hyper-V Server
        1. Getting ready
        2. How to do it…
        3. How it works…
      4. Networking your VMs
        1. Getting ready
        2. How to do it…
        3. How it works…
      5. Building your first virtual machine
        1. Getting ready
        2. How to do it…
        3. How it works…
      6. Using the VM Settings page
        1. Getting ready
        2. How to do it…
        3. How it works…
      7. Editing virtual hard disks
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Using Checkpoints as rollback points
        1. Getting ready
        2. How to do it…
        3. How it works…