PowerShell In-Depth
Table of Contents
This chapter covers fundamental concepts of PowerShell for writing PowerShell scripts.
File Name Extension
Comment
Object and Type
Path
- PowerShell: Path parameter
- PowerShell: Path Expansion
- PowerShell: LiteralPath parameter
- PowerShell: Path Operations
Pipe
Number
String
- PowerShell: String
- PowerShell: Single Quoted String
- PowerShell: Double Quoted String
- PowerShell: Here-String
- PowerShell: Escape Characters
- PowerShell: String Length
- PowerShell: Join String
- PowerShell: Split String
- PowerShell: Format String
- PowerShell: String Methods
- PowerShell: String Wildcards
- PowerShell: Regular Expression Operators
- PowerShell: Regex Result ($Matches)
- PowerShell: Regular Expression Syntax
Variable
Boolean
- PowerShell: True, False (boolean)
- PowerShell: Boolean Operators
- PowerShell: Test Equality
- PowerShell: Test Order (Greater, Lesser)
Conditional
Data Structure
Array
- PowerShell: Array
- PowerShell: Array Sub-Expression Operator, Collection to Array
- PowerShell: Array and Types
- PowerShell: Nested Array, Multi-Dimensional Array
- PowerShell: Array, Get Items
- PowerShell: Array, Set Item
- PowerShell: Test If Collection Contains a Value
- PowerShell: Join Array, Append
- PowerShell: Filter Array (where)
- PowerShell: Delete Array, Clear Array
- PowerShell: Array to String
- PowerShell: Array Methods
- PowerShell: Iterate Array
Hashtable, Dictionary
- PowerShell: Hashtable, Dictionary
- PowerShell: Hashtable: Get Key Value, Add, Remove
- PowerShell: Join Hashtables
- PowerShell: Hashtable Key / Property Name Clash
- PowerShell: Hashtable Get All Keys
- PowerShell: Sort Hashtable
- PowerShell: Hashtable Methods
- PowerShell: Iterate Hashtable
Loop, Iteration
Input, Output
Function
Error
Profile and Script
- PowerShell: Profile (init file)
- PowerShell: Create a Script
- PowerShell: Load a Script
- PowerShell: Eval Variable, String, ScriptBlock
- PowerShell: Get Current Script Path