PowerShell 7 for IT Professionals

32,99 €*

Lieferzeit Sofort lieferbar

PowerShell 7 for IT Professionals, Wiley
Von Thomas Lee, im heise Shop in digitaler Fassung erhältlich
Format
(Hinweis: DRM-geschützt)
Anzahl:
Artikel-Beschreibung
TAKE ADVANTAGE OF EVERYTHING MICROSOFT’S NEW POWERSHELL 7 HAS TO OFFER

PowerShell 7 for IT Pros is your guide to using PowerShell 7, the open source, cross-platform version of Windows PowerShell. Windows IT professionals can begin setting up automation in PowerShell 7, which features many improvements over the early version of PowerShell Core and Windows PowerShell. PowerShell 7 users can enjoy the high level of compatibility with the Windows PowerShell modules they rely on today. This book shows IT professionals—especially Windows administrators and developers—how to use PowerShell7 to engage in their most important tasks, such as managing networking, using AD/DNS/DHCP, leveraging Azure, and more.

To make it easy to learn everything PowerShell 7 has to offer, this book includes robust examples, each containing sample code so readers can follow along. Scripts are based on PowerShell 7 running on Windows 10 19H1 or later and Windows Server 2019.

• Learn to navigate the PowerShell 7 administrative environment

• Use PowerShell 7 to automate networking, Active Directory, Windows storage, shared data, and more

• Run Windows Update, IIS, Hyper-V, and WMI and CIM cmdlets within PowerShell 7

• Understand how to handle reporting in the new PowerShell 7 environment

PowerShell 7 for IT Pros provides exclusive coverage of using PowerShell with both cloud-based systems and virtualized environments (Hyper V and Azure). Written by PowerShell veteran Thomas Lee, this is the only book you’ll need to get started with PowerShell 7.

THOMAS LEE is an IT consultant/trainer/writer who holds numerous Microsoft certifications. He has been awarded Microsoft's MVP award 17 times. He has written numerous books on TCP/IP and PowerShell. Thomas currently helps clients to deliver training and build training courses. He continues to give back to the community as Group Administrator for the PowerShell forum on Spiceworks, where he is also a Site Moderator. Foreword xiii

Introduction xxxiii

CHAPTER 1 SETTING UP A POWERSHELL 7 ENVIRONMENT 1

What is New in PowerShell 7 2

Systems Used in This Book and Chapter 3

Installing PowerShell 7 5

Installing and Configuring VS Code 14

Using the PowerShell Gallery 21

Creating a Local PowerShellGet Repository 24

Creating a Code-Signing Environment 30

Summary 35

CHAPTER 2 POWERSHELL 7 COMPATIBILITY WITH WINDOWS POWERSHELL 37

Examining PowerShell Modules 38

Introducing the Compatibility Solution 48

Things That Do Not Work with PowerShell 7 51

Summary 54

CHAPTER 3 MANAGING ACTIVE DIRECTORY 55

Systems Used in This Chapter 58

Establishing a Forest Root Domain 60

Installing a Replica DC 66

Installing a Child Domain 70

Configuring a Cross-Forest Trust 75

Managing AD Users, Computers, and OUs 86

Adding Users to AD via a CSV 96

Configuring Just Enough Administration (JEA) 100

Summary 109

CHAPTER 4 MANAGING NETWORKING 111

Systems Used in This Chapter 112

Configuring IP Addressing 113

Testing Network Connectivity 117

Installing the DHCP Service 121

Configuring DHCP Scopes 124

Configuring DHCP Failover 128

Configuring the DNS Service 133

Configuring DNS Zones and Resource Records 138

Summary 144

CHAPTER 5 MANAGING STORAGE 145

Systems Used in This Chapter 146

Managing Disks and Volumes 147

Managing NTFS Permissions 154

Managing Storage Replica 163

Managing Filestore Quotas 175

Managing File Screening 183

Summary 190

CHAPTER 6 MANAGING SHARED DATA 191

Systems Used in This Chapter 193

Setting Up and Securing an SMB File Server 194

Creating and Securing SMB Shares 198

Creating and Using an iSCSI Target 207

Setting Up a Clustered Scale-Out File Server 218

Summary 229

CHAPTER 7 MANAGING PRINTING 231

Systems Used in This Chapter 232

Installing and Sharing Printers 233

Publishing a Printer in AD 238

Changing the Spool Folder 240

Printing a Test Page 245

Creating a Printer Pool 248

Summary 249

CHAPTER 8 MANAGING HYPER-V 251

Systems Used in This Chapter 253

Installing and Configuring Hyper-V 254

Creating a Hyper-V VM 257

Using PowerShell Direct 262

Configuring VM Networking 265

Configuring VM Hardware 271

Implementing Nested Virtualization 277

Using VM Checkpoints 282

Using VM Replication 291

Managing VM Movement 305

Measuring VM Resource Usage 311

Summary 314

CHAPTER 9 USING WMI WITH CIM CMDLETS 315

Exploring WMI Namespaces 320

Exploring WMI Classes 328

Getting Local and Remote Objects 330

Invoking WMI Methods 334

Managing WMI Events 339

Implementing Permanent WMI Event Handling 347

Summary 355

CHAPTER 10 REPORTING 357

Systems Used in This Chapter 358

Reporting on AD Users and Computers 359

Managing Filesystem Reporting 365

Collecting Performance Information Using PLA 374

Reporting on PLA Performance Data 379

Creating a Performance Monitoring Graph 382

Creating a System Diagnostics Report 385

Reporting on Printer Usage 387

Creating a Hyper-V Status Report 390

Reviewing Event Logs 395

Summary 402

Index 403
Artikel-Details
Anbieter:
Wiley
Autor:
Thomas Lee
Artikelnummer:
9781119644705
Veröffentlicht:
08.12.2020
Seitenanzahl:
464