▶Book Description
Windows Server 2019 is the latest version of Microsoft's flagship server operating system. It comes with PowerShell Version 5.1 and offers a variety of helpful new features. This book is designed to help you learn how you can use PowerShell to manage the core roles, features, and services of Windows Server 2019.
You'll begin by creating a PowerShell administrative environment that features updated versions of PowerShell, the Windows Management Framework, .NET Framework, and third-party modules. You'll then learn how you can use PowerShell to set up and configure Windows Server 2019 networking and manage objects in the Active Directory (AD) environment. This PowerShell cookbook will also guide you in setting up a host to use and deploy containers. Further along, you'll be able to implement different mechanisms to achieve Desired State Configuration. The book will then help you get to grips with Azure infrastructure and set up virtual machines (VMs), websites, and shared files on Azure. In the concluding chapters, you'll be able to deploy powerful tools to diagnose and resolve issues with Windows Server 2019.
By the end of this book, you'll be equipped with a number of useful tips and tricks that will enable you to automate your Windows environment with PowerShell seamlessly
▶What You Will Learn
⦁ Perform key admin tasks on Windows Server 2019
⦁ Implement best practices for writing PowerShell scripts and configuring Windows Server 2019
⦁ Use the .NET framework to perform administrative scripting
⦁ Set up Virtual Machines, websites, and shared files on Azure
⦁ Report system performance using built-in cmdlets and Windows Management Instrumentation (WMI) to obtain single measurements
⦁ Explore the latest tools to diagnose and resolve issues within Windows Server 2019
▶Key Features
⦁ Use PowerShell to effectively configure and administer Windows Server 2019
⦁ Improve the performance of new features such as DevOps and containers using PowerShell
⦁ Enhance PowerShell's usability and manage Windows-based environments by working through exciting recipes
▶Who This Book Is For
If you're a systems administrator, engineer, or architect working with Windows Server 2016 who wants to upgrade to Windows Server 2019 and automate tasks with PowerShell, this book is for you. Basic knowledge of PowerShell is necessary to understand key concepts covered in this book.
▶What this book covers
⦁ Chapter 1, Establishing a PowerShell Administrative Environment, looks at setting up your work station and your environment to make use of PowerShell.
⦁ Chapter 2, Managing Windows Networking, shows you how to manage Windows networking with PowerShell. Networks are today central to almost every organization and this chapter looks at a variety of network-related tasks, including looking at new ways (with PowerShell) to do old things, setting up DNS, DHCP, and Active directory.
⦁ Chapter 3, Managing Windows Active Directory, examines how to install, manage and leverage Active Directory, including managing AD objects and Group Policy.
⦁ Chapter 4, Managing Windows Storage, looks at managing storage in Windows Server 2019.
⦁ Chapter 5, Managing Shared Data, examines different ways to share data with Windows Server and PowerShell including SMB shares, iSCSI and Distributed File System.
⦁ Chapter 6, Managing Windows Update, helps you get to grips with managing updates via Windows Update. With the importance of keeping all your Windows clients and servers fully patched.
⦁ Chapter 7, Managing Printers, shows you how to manage printers, printer queues, and printer drivers, including deploying printers via Group Policy.
⦁ Chapter 8, Leveraging Containers, introduces Docker Containers in Windows Server 2019. You download and use container images as well as build your own.
⦁ Chapter 9, Managing Windows Internet Information Server, shows you how to conduct a variety of IIS-related tasks, including IIS installation and configuration, setting up SSL and managing cipher suites, as well as configuring Network Load Balancing.
⦁ Chapter 10. Managing Desired State Configuration, shows how to use this important feature to ensure a server is setup correctly and continues to remain so. This covers setting up a pull server and configuring partial configurations.
⦁ Chapter 11, Managing Hyper-V, demonstrates the use of Hyper-V. This chapter shows you how to build and deploy VMs with Hyper-V. This includes nested Hyper-V running a Hyper-V VM inside another Hyper-V VM which is useful for a number of scenarios.
⦁ Chapter 12, Managing Azure, looks at managing IAAS and PAAS resources in Azure using PowerShell. To test the recipes in this chapter, you need access to Azure. This chapter describes how to setup a Virtual Machine, an Azure website and an SMB3 file share.
⦁ Chapter 13, Managing Performance and Usage, how to measure, monitor, and report on the performance of your Windows 2019 servers. There are several recipes that demonstrate how to get specific performance measurements and how to create graphs of performance for further analysis.
⦁ Chapter 14, Troubleshooting Windows Server, looks at a number of aspects of both reactive and proactive troubleshooting. This includes getting events from the event log and using the Best Practice Analyzer contained in Windows Server 2019.