COMMAND EVERYTHING.
Discover commands whose names match a pattern in the current PowerShell environment.
PowerShell · Risk: Low · Documentation VerifiedLast verified: 2026-10-26
Returns command metadata. Available commands depend on installed modules and the current session.
Get-Command [[-ArgumentList] <Object[]>] [-Verb <string[]>] [-Noun <string[]>]
[-Module <string[]>] [-ExcludeModule <string[]>] [-FullyQualifiedModule <ModuleSpecification[]>]
[-TotalCount <int>] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported]
[-ParameterName <string[]>] [-ParameterType <PSTypeName[]>] [<CommonParameters>]Copied 0 timesNo elevation is required for the in-memory examples. Filesystem operations require read or traversal access to the selected path.
PowerShell · 7.6; filesystem examples require the FileSystem provider
-NamePowerShell 7.6 with Microsoft.PowerShell.Core. For file examples, replace the sample path with an accessible file or directory.
Low risk for the supplied example. Protect file contents, paths, and returned system metadata. Review any modifications to the example before execution.
Get-Command -Name 'Get-*'Returns command metadata. Available commands depend on installed modules and the current session.
Sign in to keep your own command reference lists.
Explain or customize this command with AI