본문 바로가기

리디 접속이 원활하지 않습니다.
강제 새로 고침(Ctrl + F5)이나 브라우저 캐시 삭제를 진행해주세요.
계속해서 문제가 발생한다면 리디 접속 테스트를 통해 원인을 파악하고 대응 방법을 안내드리겠습니다.
테스트 페이지로 이동하기

Mastering PowerShell Scripting Fourth Edition 상세페이지

Mastering PowerShell Scripting Fourth Edition작품 소개

<Mastering PowerShell Scripting Fourth Edition> Grasp advanced PowerShell 7.1 functionalities for effective automation of your environment

▶Book Description
PowerShell scripts offer a convenient way to automate various tasks, although working effectively with these scripts can be challenging. Mastering PowerShell Scripting helps you to navigate through PowerShell's capabilities. This extensively revised edition includes new chapters on debugging and troubleshooting and creating GUIs (online chapter). Learn the new features of PowerShell 7.1 by working with parameters, objects, and .NET classes from within PowerShell 7.1.

This comprehensive guide starts with the basics before moving on to advanced topics, including asynchronous processing, desired state configuration, using more complex scripts and filters, debugging issues, and error-handling techniques. Explore how to efficiently manage substantial amounts of data and interact with other services using PowerShell 7.1. This book will help you to make the most of PowerShell's automation features, using different methods to parse data, manipulate regular expressions, and work with Windows Management Instrumentation (WMI).

▶What You Will Learn
-Optimize code with functions, switches, and looping structures
-Test and debug your scripts as well as raising and catching errors
-Work with objects and operators to test and manipulate data
-Parse and manipulate different data types
-Use jobs, runspaces, and runspace pools to run code asynchronously
-Write .NET classes with ease within PowerShell
-Create and implement regular expressions in PowerShell scripts
-Make use of advanced techniques to define and restrict the behavior of parameters

▶Key Features
-Automate complex tasks, manipulate data, and secure your environment
-Work with dual code for PowerShell 7 and Windows PowerShell to maintain compatibility with older versions
-See PowerShell in action, from learning the fundamentals to creating classes, scripts, and modules

▶Who This Book Is For
This book is for system administrators who want to automate and speed up their processes using PowerShell and Windows PowerShell. Some familiarity with operating systems would be useful, but not essential.

▶What this book covers
- Chapter 1, Introduction to PowerShell, introduces you to editors, the help system, command naming, and more.

- Chapter 2, Modules and Snap-Ins, explores finding, installing, and using modules in PowerShell. Snap-ins are not part of PowerShell 7 but are briefly explored as a legacy feature of PowerShell 5.

- Chapter 3, Working with Objects in PowerShell, looks at the concept of objects in PowerShell and the generic commands available for selecting, filtering, and manipulating values.

- Chapter 4, Operators, explores the large variety of operators available in PowerShell.

- Chapter 5, Variables, Arrays, and Hashtables are an important topic in PowerShell. The chapter explores the use of variables, as well as the capabilities of collections.

- Chapter 6, Conditional Statements and Loops are the tools used to make decisions in scripts in PowerShell. This chapter explores keywords like If, and the different loop styles available.

- Chapter 7, Working with .NET, is used to dive into .NET, which was used to create the PowerShell language and is available within PowerShell.

- Chapter 8, Strings, Numbers, and Dates are a vital part of any scripting language, and PowerShell is no exception. This chapter explores the different techniques available for working with such values.

- Chapter 9, Regular Expressions are an incredibly useful inclusion in PowerShell. You can use regular expressions to make short work of string parsing tasks. The chapter ends by walking through several practical parsing examples.

- Chapter 10, File, Folders, and the Registry, explores the use of providers in PowerShell, most used to access the file system and, in Windows, the registry.

- Chapter 11, Windows Management Instrumentation, explores WMI in PowerShell, a significant part of the Windows operating system since Windows NT.

- Chapter 12, Working with HTML, XML, and JSON, looks at the PowerShell commands and .NET types that you can use to work with these different text-based formats.

- Chapter 13, Web Requests and Web Services, explores basic web requests before diving into using PowerShell to work with REST APIs, using the API for GitHub as an example. Support for SOAP in PowerShell 7 is less complete than in PowerShell 5.1. SOAP is explored by way of a web service project via Visual Studio.

- Chapter 14, Remoting and Remote Management, examines the configuration and use of PowerShell Remoting in both Windows and Linux.

- Chapter 15, Asynchronous Processing, dives into the realm of background jobs in PowerShell before exploring .NET events in PowerShell. The chapter ends with a look at runspaces and runspace pools.

- Chapter 16, Graphical User Interfaces, shows you how to implement responsive user interfaces in PowerShell.

- Chapter 17, Scripts, Functions, and Script Blocks, explores the building blocks of larger scripts and modules. The chapter looks at how to define parameters, work in a pipeline, and manage output.

- Chapter 18, Parameters, Validation, and Dynamic Parameters, looks at the many options available for defining parameters and validating input in PowerShell.

- Chapter 19, Classes and Enumerations, shows off the capabilities of the class and enum keywords, which were introduced with PowerShell 5. The chapter includes an exploration of class inheritance and implementing .NET interfaces. This chapter includes a brief look at writing class-based DSC resources.

- Chapter 20, Building Modules, explores the key concepts of creating a module in PowerShell using PowerShell code. The chapter shows off some of the common approaches available to module authors.

- Chapter 21, Testing, is used to explore static analysis using PSScriptAnalyzer as well as acceptance and unit testing using the Pester framework.

- Chapter 22, Error Handling, looks at the complex topic of handling errors in PowerShell, including an exploration of both terminating and non-terminating errors.

- Chapter 23, Debugging and Troubleshooting, uses the built-in debugger in PowerShell and Visual Studio to delve into some of the common problems encountered when debugging scripts.


출판사 서평

▶ Preface
PowerShell is an object-oriented scripting language aimed at Systems Administrators that was invented by Jeffrey Snover. PowerShell was first conceived as far back as 2002 and entered mainstream use in 2006. Exchange 2007 was one of the first major systems to adopt it as an administration language.

PowerShell has come a long way over the years. PowerShell 7 smooths over a lot of the rough edges in the original releases of the cross-platform PowerShell Core (PowerShell 6).

Like any good scripting language, PowerShell is the glue that ties automated processes together. It is a vital part of the Microsoft ecosystem and is great in heterogeneous environments.


저자 소개

▶About the Author
- Chris Dent
Chris Dent is an automation specialist with deep expertise in the PowerShell language. Chris is often found answering questions about PowerShell in both the UK and virtual PowerShell user groups. Chris has been developing in PowerShell since 2007 and has released several modules over the years.

목차

▶TABLE of CONTENTS
-Chapter 1: Introduction to PowerShell
-Chapter 2: Modules and Snap-Ins
-Chapter 3: Working with Objects in PowerShell
-Chapter 4: Operators
-Chapter 5: Variables, Arrays, and Hashtables
-Chapter 6: Conditional Statements and Loops
-Chapter 7: Working with .NET
-Chapter 8: Strings, Numbers, and Dates
-Chapter 9: Regular Expressions
-Chapter 10: Files, Folders, and the Registry
-Chapter 11: Windows Management Instrumentation
-Chapter 12: Working with HTML, XML, and JSON
-Chapter 13: Web Requests and Web Services
-Chapter 14: Remoting and Remote Management
-Chapter 15: Asynchronous Processing
-Chapter 16: Graphical User Interfaces
-Chapter 17: Scripts, Functions, and Script Blocks
-Chapter 18: Parameters, Validation, and Dynamic Parameters
-Chapter 19: Classes and Enumerations
-Chapter 20: Building Modules
-Chapter 21: Testing
-Chapter 22: Error Handling
-Chapter 23: Debugging and Troubleshooting


리뷰

구매자 별점

0.0

점수비율
  • 5
  • 4
  • 3
  • 2
  • 1

0명이 평가함

리뷰 작성 영역

이 책을 평가해주세요!

내가 남긴 별점 0.0

별로예요

그저 그래요

보통이에요

좋아요

최고예요

별점 취소

구매자 표시 기준은 무엇인가요?

'구매자' 표시는 리디에서 유료도서 결제 후 다운로드 하시거나 리디셀렉트 도서를 다운로드하신 경우에만 표시됩니다.

무료 도서 (프로모션 등으로 무료로 전환된 도서 포함)
'구매자'로 표시되지 않습니다.
시리즈 도서 내 무료 도서
'구매자’로 표시되지 않습니다. 하지만 같은 시리즈의 유료 도서를 결제한 뒤 리뷰를 수정하거나 재등록하면 '구매자'로 표시됩니다.
영구 삭제
도서를 영구 삭제해도 ‘구매자’ 표시는 남아있습니다.
결제 취소
‘구매자’ 표시가 자동으로 사라집니다.

이 책과 함께 구매한 책


이 책과 함께 둘러본 책



본문 끝 최상단으로 돌아가기

spinner
모바일 버전