get-module Verified current stable Not installed?

Get Module / Filter Modules By Name Conditions

Filter Modules By Name Conditions

Get Module command syntax to filter modules by name conditions. Copyable examples, output expectations, and common mistakes.

$
Terminal
Get-Module -ListAvailable | Where-Object { $_.Name -NotLike "Microsoft*" -And $_.Name -NotLike "PS*" }

Command Breakdown

What each part is doing

Get-Module
Base Command
The executable that performs this operation. Here it runs Get Module before the shell applies any redirect operators.
-ListAvailable
Command Option
Tool-specific option used by this command invocation.
-NotLike
Command Option
Tool-specific option used by this command invocation.
-And
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative tools that share the "inspect" operation intent.