𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Mastering Windows PowerShell Scripting [2nd ed.]

✍ Scribed by Chris Dent, Brenton J.W. Blawat


Publisher
Packt
Year
2017
Tongue
English
Leaves
422
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Table of Contents


Contents......Page 3
Preface......Page 17
Intro to PowerShell......Page 22
Quick reference......Page 23
PowerShell editors......Page 28
PowerShell on Linux......Page 35
Summary......Page 41
Getting help......Page 42
Command naming and discovery......Page 50
Parameters and parameter sets......Page 53
Providers......Page 62
Summary......Page 67
Modules & Snap-ins......Page 68
What is a module?......Page 69
What is the PowerShell Gallery?......Page 70
The Get-Module command......Page 72
The Import-Module command......Page 73
The Remove-Module command......Page 74
The Install-Module command......Page 75
What is a snap-in?......Page 76
Using snap-ins......Page 77
Summary......Page 78
Objects in PowerShell......Page 79
Pipelines......Page 80
Members......Page 81
Enumerating and filtering......Page 88
Selecting and sorting......Page 89
Grouping and measuring......Page 95
Comparing......Page 99
Importing, exporting, and converting......Page 101
Summary......Page 105
Arithmetic operators......Page 106
Assignment operators......Page 113
Comparison operators......Page 116
Regular-expression-based operators......Page 120
Binary operators......Page 123
Logical operators......Page 126
Type operators......Page 128
Redirection operators......Page 129
Other operators......Page 133
Summary......Page 136
Variables, Arrays & Hashtables......Page 137
Naming and creating variables......Page 138
Variable commands......Page 139
Variable scope......Page 142
Type and type conversion......Page 145
Objects assigned to variables......Page 147
Arrays......Page 148
Hashtables......Page 156
Lists, dictionaries, queues, and stacks......Page 161
Summary......Page 171
Conditional statements......Page 172
Loops......Page 177
Summary......Page 181
Working with NET......Page 182
Assemblies......Page 183
Types......Page 184
Constructors......Page 185
Properties and methods......Page 190
Static properties......Page 192
Static methods......Page 194
Non-public classes......Page 196
Type accelerators......Page 197
Using......Page 198
Summary......Page 200
String manipulation......Page 201
Converting strings......Page 210
Number manipulation......Page 217
Date and time manipulation......Page 219
Summary......Page 224
Regular Expressions......Page 225
Regex basics......Page 226
Anchors......Page 231
Repetition......Page 232
Character classes......Page 234
Alternation......Page 237
Grouping......Page 238
Examples of regular expressions......Page 244
Summary......Page 248
Working with providers......Page 249
Items......Page 252
Item properties......Page 254
Permissions......Page 257
Transactions......Page 268
File catalogs......Page 269
Summary......Page 271
Working with WMI......Page 272
CIM cmdlets......Page 280
The WMI cmdlets......Page 288
Permissions......Page 292
Summary......Page 299
HTML......Page 300
XML......Page 303
System.Xml......Page 305
System.Xml.Linq......Page 314
JSON......Page 321
Summary......Page 324
Web requests......Page 325
Working with REST......Page 330
Working with SOAP......Page 337
Summary......Page 342
WS-Management......Page 343
CIM sessions......Page 353
PS sessions......Page 354
The double-hop problem......Page 361
Summary......Page 363
Static analysis......Page 364
Testing with Pester......Page 368
Summary......Page 388
Error types......Page 389
Error action......Page 391
Raising errors......Page 392
Catching errors......Page 397
Summary......Page 411
Index......Page 412


πŸ“œ SIMILAR VOLUMES


Mastering Windows PowerShell Scripting
✍ Blawat B.J.W. πŸ“‚ Library 🌐 English

Packt Publishing, 2015. β€” 220 p. β€” ISBN: 1782173552, ISBN-13: 978-1-78217-355-7.<br/>На Π°Π½Π³Π». языкС.<br/> <br/>PowerShell is quickly becoming the de facto standard for scripting in Microsoft Windows environments. It enables the automation of otherwise complex tasks, providing interactivity between d

Mastering PowerShell Scripting
✍ Chris Dent πŸ“‚ Library πŸ“… 2024 πŸ› Packt Publishing 🌐 English

PowerShell scripts provides a convenient method for automating tasks, using them proficiently can be challenging. This all-inclusive guide begins at the basics and covers advanced concepts, equipping you with tips to become an expert in PowerShell Core 7.3 scripting.