GetCommand
GetCommand is a term used in software development to describe a mechanism for retrieving a command object from a registry, factory, or similar repository. The concept is used to support dynamic invocation, discovery of available actions, and decoupling of callers from concrete implementations.
In PowerShell, the related built-in cmdlet is Get-Command, which lists and provides information about all executable
In software design, GetCommand is commonly used as a method name in implementations of the command pattern
Implementation considerations include how commands are registered (through a registry, DI container, or map), how they
See also: Get-Command; Command pattern; Command registry; Command binding.