Book Image

Windows Server 2019 Cookbook - Second Edition

By : Mark Henderson, Jordan Krause
Book Image

Windows Server 2019 Cookbook - Second Edition

By: Mark Henderson, Jordan Krause

Overview of this book

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.
Table of Contents (18 chapters)

Enabling the Active Directory Recycle Bin

We just walked through the task of delegating access to Active Directory to certain users, but that's not without its own risks. What if the user goes and does something silly like deleting a user, instead of moving them? Because that would never happen to you, would it?

The Active Directory Recycle Bin has been around for a long time – since Windows Server 2008 R2 in fact. But it's not something that I see in use all that often, which leads me to believe that a lot of systems administrators are just not aware of its existence. It's also not turned on by default, which doesn't help.

Let's take a look at how we can make use of it.

Getting started

You'll need your Windows 10 computer with RSAT installed. That's it!

How to do it…

On your Windows 10 computer that has the Active Directory RSAT tools installed, perform the following steps:

  1. Open PowerShell.
  2. Run the following...