Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NAME
- Get-Command
- SYNOPSIS
- Gets all commands.
- SYNTAX
- Get-Command [[-Name] <String[]>] [[-ArgumentList] <Object[]>] [-All]
- [-CommandType {Alias | Function | Filter | Cmdlet | ExternalScript |
- Application | Script | Workflow | Configuration | All}]
- [-FullyQualifiedModule <ModuleSpecification[]>] [-ListImported] [-Module
- <String[]>] [-ParameterName <String[]>] [-ParameterType <PSTypeName[]>]
- [-ShowCommandInfo] [-Syntax] [-TotalCount <Int32>] [<CommonParameters>]
- Get-Command [[-ArgumentList] <Object[]>] [-All] [-FullyQualifiedModule
- <ModuleSpecification[]>] [-ListImported] [-Module <String[]>] [-Noun
- <String[]>] [-ParameterName <String[]>] [-ParameterType <PSTypeName[]>]
- [-ShowCommandInfo] [-Syntax] [-TotalCount <Int32>] [-Verb <String[]>]
- [<CommonParameters>]
- DESCRIPTION
- The `Get-Command` cmdlet gets all commands that are installed on the
- computer, including cmdlets, aliases, functions, filters, scripts, and
- applications. `Get-Command` gets the commands from PowerShell modules and
- snap-ins and commands that were imported from other sessions. To get only
- commands that have been imported into the current session, use the
- ListImported parameter.
- Without parameters, `Get-Command` gets all of the cmdlets, functions, and
- aliases installed on the computer. `Get-Command *` gets all types of
- commands, including all of the non-PowerShell files in the Path
- environment variable (`$env:Path`), which it lists in the Application
- command type.
- `Get-Command` that uses the exact name of the command, without wildcard
- characters, automatically imports the module that contains the command so
- that you can use the command immediately. To enable, disable, and
- configure automatic importing of modules, use the
- `$PSModuleAutoLoadingPreference` preference variable. For more
- information, see about_Preference_Variables
- (About/about_Preference_Variables.md).
- `Get-Command` gets its data directly from the command code, unlike
- `Get-Help`, which gets its information from help topics.
- Starting in Windows PowerShell 5.0, results of the `Get-Command` cmdlet
- display a Version column by default. A new Version property has been added
- to the CommandInfo class.
- RELATED LINKS
- Online Version: http://go.microsoft.com/fwlink/?LinkId=821482
- Get-Help
- REMARKS
- To see the examples, type: "get-help Get-Command -examples".
- For more information, type: "get-help Get-Command -detailed".
- For technical information, type: "get-help Get-Command -full".
- For online help, type: "get-help Get-Command -online"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement