Retrieves basic information about a command.
Snap-In: Microsoft.PowerShell.Core
Syntax:
Get-Command [
[-ArgumentList] <Object[]>] [-Verb <String[]>] [-Noun <String[]>] [-PSSnapin <String[]>] [-TotalCount <Int32>] [-Usage] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Get-Command [
[-Name] <String[]>] [ [-ArgumentList] <Object[]>] [-CommandType <CommandTypes>] [-TotalCount <Int32>] [-Usage] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
The get-command Cmdlet returns the command type, command name, and command syntax of a given cmdlet. Conversely, the get-help [Cmdlet noun or verb] will return cmdlet names when there is more than one instance of either a noun or verbt. If t here is only one cmdlet for a given noun or verb, then the help file is returned .