Description |
1 online resource (468 p.) |
Contents |
Cover -- Title Page -- Copyright and Credits -- Contributors -- Table of Contents -- Preface -- Part 1: PowerShell Fundamentals -- Chapter 1: Introduction to PowerShell 7 -- What It Is and How to Get It -- Technical requirements -- What is PowerShell 7? -- What is PowerShell 7 used for? -- Scripting languages versus system programming languages -- Getting PowerShell 7 -- Installation from an .msi file -- Installation from the .zip file -- Installation with winget -- Other ways to install -- Running PowerShell 7 -- Running PowerShell with administrator privileges -- Autocomplete |
|
Getting help -- Get-Command -- Get-Help -- Get-Member -- Summary -- Exercises -- Further reading -- Chapter 2: Exploring PowerShell Cmdlets and Syntax -- Technical requirements -- What are cmdlets? -- Exploring cmdlet structure -- The correct use of aliases -- Understanding cmdlet syntax -- How to find more cmdlets -- Finding modules and cmdlets on your machine -- Finding new modules and cmdlets -- Working interactively with PowerShell -- Windows Terminal -- an alternative terminal emulator -- Installing Windows Terminal from Microsoft Store -- Summary -- Exercises |
|
Chapter 3: The PowerShell Pipeline -- How to String Cmdlets Together -- How to bring cmdlets together -- the pipeline -- What is an object? -- Selecting and sorting objects -- Using Select-Object -- Ordering objects with Sort-Object -- Filtering objects -- Understanding comparison operators -- Understanding Where-Object advanced syntax -- Multiple filters in the advanced syntax -- Filter optimization -- Enumerating objects -- Parallel enumeration -- How the pipeline works -- parameter binding -- Understanding ByValue parameter binding -- ByPropertyName parameter binding |
|
Troubleshooting the pipeline -- pipeline tracing -- Summary -- Exercises -- Further reading -- Chapter 4: PowerShell Variables and Data Structures -- Understanding PowerShell variables -- Variables are not their contents -- Naming variables -- The three common types of PowerShell variable -- Exploring object types -- What is an object? -- redux -- Discovering value types -- Booleans -- Integers -- Real numbers -- Char -- Typing explained -- Dynamic versus static typing -- Casting variables -- Navigating reference types -- Arrays -- Strings -- Hashtables -- Splatting -- a cool use for hashtables |
|
Chapter 6: PowerShell and Files -- Reading, Writing, and Manipulating Data |
Summary |
Exercises -- Further reading -- Chapter 5: PowerShell Control Flow - Conditionals and Loops -- An introduction to IDEs and VS Code -- Installing VS Code -- Configuring VS Code for PowerShell -- Conditional control - if, else, elseif, and switch -- The if statement -- The switch statement -- Loops - foreach, do while, do until, while, for -- The foreach loop statement -- The do while and do until loop statements -- The while loop -- The for loop -- Breaking and continuing -- The break statement -- The continue statement -- Let's play a game -- Summary -- Exercises -- Further reading |
Notes |
Description based upon print version of record |
SUBJECT |
Microsoft Windows (Computer file) http://id.loc.gov/authorities/names/n88027331
|
Subject |
Windows PowerShell (Computer program language)
|
|
Computer programming.
|
|
Scripting languages (Computer science)
|
|
computer programming.
|
Form |
Electronic book
|
ISBN |
1801817499 |
|
9781801817493 |
|