Windows Server 2019 Cookbook
eBook - ePub

Windows Server 2019 Cookbook

Over 100 recipes to effectively configure networks, manage security, and administer workloads, 2nd Edition

  1. 650 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Windows Server 2019 Cookbook

Over 100 recipes to effectively configure networks, manage security, and administer workloads, 2nd Edition

Book details
Book preview
Table of contents
Citations

About This Book

Efficiently manage and administer enterprise environments using Microsoft Windows Server 2019

Key Features

  • Leverage Windows Server 2019 to improve enterprise workflow efficiency and increase productivity
  • Deliver enterprise-grade cloud services that can be applied in your infrastructure
  • Get up and running with PowerShell and the all-new Hyper-V improvements

Book Description

Do you want to get up and running with essential administrative tasks in Windows Server 2019?

This second edition of the Windows Server 2019 Cookbook is packed with practical recipes that will help you do just that.

The book starts by taking you through the basics that you need to know to get a Windows Server operating system working, before teaching you how to navigate through daily tasks using the upgraded graphical user interface (GUI). You'll then learn how to compose an optimal Group Policy and perform task automation with PowerShell scripting. As you advance, you'll get to grips with faster app innovation, improved Windows security measures, and hybrid cloud environments. After you've explored the functions available to provide remote network access to your users, you'll cover the new Hyper-V enhancements. Finally, this Windows Server book will guide you through practical recipes relating to Azure integration and important tips for how to manage a Windows Server environment seamlessly.

By the end of this book, you'll be well-versed with Windows Server 2019 essentials and have the skills you need to configure Windows services and implement best practices for securing a Windows Server environment.

What you will learn

  • Get up and running with Windows Server 2019's new features
  • Install, configure, and administer Windows Server 2019 effectively
  • Configure the server to host any enterprise application
  • Discover ways to manage a server without a GUI
  • Safeguard your virtual machines in the event of server failure
  • Explore new ways to integrate Windows Server with Microsoft Azure
  • Deploy Windows containers using Docker

Who this book is for

This Windows Server 2019 book is for system administrators and IT professionals who have basic experience in Windows environments and are interested in acquiring the skills and knowledge needed to manage and maintain the core infrastructure required for a Windows Server 2019 environment.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Windows Server 2019 Cookbook by Mark Henderson, Jordan Krause in PDF and/or ePUB format, as well as other popular books in Computer Science & Operating Systems. We have over one million books available in our catalogue for you to explore.

Information

Year
2020
ISBN
9781838989828
Edition
2

Chapter 1: Learning the Interface

In an effort to become familiar with the look and feel of Windows Server 2019, in this chapter, you will learn how to navigate through some daily tasks using the graphical interface.
Windows 8 and Server 2012 brought us a drastic change in the way that we interfaced with the Windows operating system, and most of us didn't think that change was for the better. By now, I assume you have seen, used, and are hopefully deploying Windows 10 on your client computers, which brings some relief with regard to the user interface. With Windows 10, we have kind of a mix between Windows 7 and Windows 8, and it fits the needs of most people in a better way. Just like the last couple of rollouts of the Microsoft Windows operating systems, the Server platform follows on the heels of the Desktop version. Beginning with Windows Server 2016 Microsoft, went back to the basics and returned with the look and feel of Windows 10. Thankfully, Windows Server 2019 keeps this interface.
If you have been using Windows 10, you already have a good head start if you wish to successfully interface with Windows Server 2019. However, if you are still using older equipment and haven't had a chance to really dive into the latest and greatest operating systems, these big changes in the way that we interact with our servers can be a big stumbling block to successfully utilizing the new tools. Many differences exist when comparing Server 2019 to something like Server 2008, and when you are working within three levels of Remote Desktop Protocol (RDP), bouncing from one server to another, all of these little differences are compounded. It suddenly becomes difficult to know which server it is that you are working on or changing. Let's have a show of hands – how many of you have mistakenly rebooted the wrong server? Or, even more likely, how many of you have rebooted your own computer while you were trying to reboot a remote server? I know I have! And not just once.
Hope is not lost! I promise you that once you learn how to manage the interface rather than letting it manage you, some of these changes may start to seem like good ideas. They can increase productivity and help make accomplishing tasks easy – we just need some pointers on making the best use of the new interface.
We're also going to start making use of PowerShell to do a lot of administrative tasks. First introduced in 2006, PowerShell is Microsoft's command-line interface and it's one of the ways Microsoft really wants new administrators like yourself to work. After 13 years of constant development and work, PowerShell is an excellent tool for managing Windows. But if you really love your mouse and GUI, then don't fret – we're going to include both methods where possible!
The recipes in this chapter are dedicated to helping you find your way around the basic Windows Server 2019 interfaces. Let's work together to gain a better understanding of why the interface was built the way it is and learn to take advantage of these new screens and settings.
Let's look at the list of recipes in this chapter:
  • Shutting down or restarting the server
  • Launching Administrative Tools
  • Using WinKey + X for quick admin tasks
  • Using the search function to launch applications quickly
  • Managing remote servers from a single pane with Server Manager
  • Using PowerShell to accomplish any function in Windows Server
  • Installing a role or feature
  • Administering Server 2019 from a Windows 10 machine
  • Managing your servers through the Windows Admin Center
  • Identifying useful keyboard shortcuts in Server 2019
  • Setting up your PowerShell execution policy
  • Building and executing your first PowerShell script
  • Searching for PowerShell cmdlets with Get-Help

Shutting down or restarting the server

I just couldn't resist starting with this one. Yes, this seems trivial. Silly even. However, the number of times that I have watched a simple server restart consume more mouse clicks than creating a domain controller has convinced me that this needed to be in this book. Perhaps the shutdown and restart options were hidden away purposefully, because once your system is up and running, there is not often a need to accomplish either of these tasks. When first configuring the box, though, it is very common to have to reboot a couple of times or shut down a machine to move it to another location. Let's face it, it doesn't seem to matter how many years computers have been around – sometimes, the magical reboot process is still the fix.

Getting ready

To complete this recipe, you will need a Windows Server 2019 system online. There are no other prerequisites.

How to do it…

Let's take a look at three different ways to shut down or restart your system. The first is going to be the most commonly employed. The second is still being used by quite a few folks who had to work hard at getting this strange location in their heads during the Windows 8 rollout, and they have continued to use it from that point forward. The third is less commonly known but is by far my favorite when tasked with restarting a remote server.

Using the Start menu

The first option, thankfully, is in a location that makes sense to anyone using Windows 10. We can simply click on the Start button, and see right there, near the bottom, that we have Power control options available to us:
Figure 1.1 – Power control options in the Start menu
Figure 1.1 – Power control options in the Start menu
Now, when you click on Shut down or Restart, you will be asked to supply a reason why you are restarting. Common sense tells us that if you are manually clicking on the Restart button, there is a pretty good chance you are actually intending to restart the server, right? A planned occurrence? But what is the default option that presents itself? Other (Unplanned). Alas, this default option is certainly going to cause us log files full of unplanned restarts, even though all of those restarts were actually planned. Because let's be real – nobody takes the time to change that drop-down menu before they click Continue:
Figure 1.2 – Shut down/Restart prompt, asking users to choose a reason for shutting down or restarting
Figure 1.2 – Shut down/Restart prompt, asking users to choose a reason for shutting down or restarting
The second method to accomplish shutting down or restarting is by right-clicking on the Start button. We will discuss this little menu that is presented when right-clicking on Start in our next recipe, but for the sake of a quick shutdown or restart, you can simply right-click on the Start button and then choose Shut down or sign out:
Figure 1.3 – The shutdown or sign out prompt in the Start menu
Figure 1.3 – The shutdown or sign out prompt in the Start menu
These two examples run the risk of rebooting the wrong system. Depending on how many layers of remote connections, such as RDP, you are using, it is fairly easy to reboot your own computer or the wrong server instead of the server you intended to rebo...

Table of contents

  1. Windows Server 2019 Cookbook Second Edition
  2. Why subscribe?
  3. Preface
  4. Chapter 1: Learning the Interface
  5. Chapter 2: Core Infrastructure Tasks
  6. Chapter 3: Networking
  7. Chapter 4: Working with Certificates
  8. Chapter 5: Internet Information Services
  9. Chapter 6: Remote Access
  10. Chapter 7: Remote Desktop Services
  11. Chapter 8: Monitoring and Backup
  12. Chapter 9: System Insights
  13. Chapter 10: Group Policy
  14. Chapter 11: File Services and Data Control
  15. Chapter 12: Server Core
  16. Chapter 13: Working with Hyper-V
  17. Chapter 14: Containers and Docker
  18. Chapter 15: Desired State Configuration and Automation
  19. Chapter 16: Hardening Your Infrastructure
  20. Other Books You May Enjoy