Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Server 2019 Cookbook - Second Edition

You're reading from  Windows Server 2019 Cookbook - Second Edition

Product type Book
Published in Jul 2020
Publisher Packt
ISBN-13 9781838987190
Pages 650 pages
Edition 2nd Edition
Languages
Concepts
Authors (2):
Mark Henderson Mark Henderson
Profile icon Mark Henderson
Jordan Krause Jordan Krause
Profile icon Jordan Krause
View More author details
Toc

Table of Contents (18) Chapters close

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

Converting a GPO to DSC

DSC is all very well, but if you're an organization that has decades of history on Windows Server, then chances are you have a lot of things hidden away in GPOs. We looked at these back in Chapter 10, Group Policy. They are a great way of doing mass configuration, but they lack much of the finesse of DSC. After all, the GPO scheme is 20 years old now.

If you're looking to replace some of your old GPOs and extend them with DSC, the good news is that PowerShell has a way we can get started with this.

Getting ready

The easiest place to do this from is a Windows 10 computer that has Remote Server Administration Tools (RSAT) installed. Instructions on how to do this can be found in Chapter 1, Learning the Interface, in the Administering Server 2019 from a Windows 10 machine recipe.

How to do it…

From our computer running Windows 10 with RSAT, do the following:

  1. Open PowerShell as administrator.
  2. We need to decide which Group...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime}