Variables, Types and Operators

📄️Scalar Variables

Learn how scalar variables work in PowerShell, including declaration, typing, updating values, and how they differ from collections. See examples of strings, numbers, booleans, and objects, and understand how scalar variables are used in expressions and command output.

📄️Arrays

Deep-dive into PowerShell arrays: creation, indexing, operators, performance, multidimensional arrays, and real-world patterns.

📄️Hash Tables

Master PowerShell hash tables: create, access, update, iterate, nest, splat, and copy hashtables. Covers ordered dictionaries, key checking, BadEnumeration, custom pipeline expressions, and .NET hashtables with practical examples.

📄️Type Accelerators

Master PowerShell type accelerators: cast values, declare typed variables, discover all accelerators, and create custom type accelerators. Covers [regex], [ipaddress], and more.

📄️Comparison and Logical Operators

Learn how PowerShell comparison and logical operators work, including equality checks, numeric comparisons, string and pattern matching, and boolean logic. See practical examples using if statements, filters, and multi‑condition expressions.

Found this helpful? Share the knowledge...

... or support this project to keep it alive!

Buy Me a Coffee

Previous

Scripting Fundamentals

Next

Scalar Variables