PowerShell Get-Module: List Installed and Loaded Modules
Get-Module tells you exactly which PowerShell modules are loaded or installed. Learn every useful flag and how to check module versions and paths.
Commands Tips
Get-Module tells you exactly which PowerShell modules are loaded or installed. Learn every useful flag and how to check module versions and paths.
PowerShell modules bundle related functions for reuse and sharing. Learn to install, import, and build your own module from scratch.
Functions turn repetitive code into reusable building blocks. Learn to write PowerShell functions with parameters, defaults, and clean return values.
PowerShell’s switch statement handles multiple conditions more clearly than chained if-elseif blocks. Includes regex, wildcard, and array examples.
The PowerShell for loop gives precise control over iteration with a counter variable. Learn syntax, step values, and real-world automation examples.
While loops repeat code as long as a condition is true. Learn PowerShell while and do-while syntax with real polling and retry script examples.
Conditional logic drives every useful script. This guide covers PowerShell if/elseif/else syntax, comparison operators, and when to use switch instead.
The foreach loop is PowerShell’s most-used iteration construct. This tutorial covers syntax, pipeline use, break/continue, and common pitfalls.
PowerShell strings expose the full .NET string API. Learn the most useful methods — Trim, ToUpper, Contains, Substring — with practical examples.
PowerShell’s -split and -join operators make parsing delimited text effortless. Learn to split on any character, limit splits, and rejoin arrays.