Examples of using Get-command in English and their translations into German
{-}
-
Colloquial
-
Official
-
Ecclesiastic
-
Medicine
-
Financial
-
Ecclesiastic
-
Political
-
Computer
-
Programming
-
Official/political
-
Political
Enter the Get-Command-Syntax command to display the full output.
You can import any command that Get-Command can find in the PSSession.
Get-command*-job For more information about background jobs, see about_Jobs.
This example shows how to use the Get-Command cmdlet with an alias.
You can type Get-Command a* to find all commands that begin with the letter"a.
For example, to display the examples for the Get-Command cmdlet, type.
Get-command*-module* Transactions Windows PowerShell 2.0 includes support for transactions.
Functions are commands, so to find functions, use the Get-Command cmdlet.
The standard alias for Get-Command comes from combining g for Get and cm for Command, gcm.
String You can pipe a"Name","Command", and"Verb" noun-property specified,or a string object to Get-Command.
To see the syntax of the Get-PSDrive cmdlet, type a Get-Command command with the Syntax parameter.
The Get-Command cmdlet has a Syntax parameter that allows you to retrieve just the syntax of each cmdlet.
Get-Module cannot get a dynamic module, but Get-Command can get the exported members.
Get-command-name map-type function- or-&(dir function:\map) You can also save your hidden command in a variable to make it easier to run.
To get the syntax for the New-PSDrive command, enter the Get-Command command with the Syntax parameter.
You can use the Module parameter of Get-Command to find the commands that were added to the session by adding a Windows PowerShell snap-in or importing a module.
Then, you might be interested in learning about a few of the basic cmdlets, such as Get-Help, Get-Command, Get-Process, Get-Service, and Get-Eventlog.
Get-command*-event Modules Windows PowerShell modules let you divide and organize your Windows PowerShell scripts into independent, self-contained, reusable units.
You can also use the PSSnapin property of the object that Get-Command returns to find the snap-in or module in which a cmdlet originated.
EXAMPLE 7 C:\PS> get-command* Description This command gets information about the Windows PowerShell cmdlets, functions, filters, scripts, and aliases in the current console.
For example, if you type get-co and then press the Tab key,Windows PowerShell will automatically expand this to the Get-Command cmdlet notice that it also changes the case of letters to their standard form.
C:\PS> get-command-verb set format-list This command gets information about all of the cmdlets and functions with the verb"set", and it displays some of that information in a list.
This command shows how to use the Module parameter of Get-Command to find out which commands were imported into the session by an Import-PSSession command.
C:\PS> get-command start-transcript format-custom-view MyView This command formats information about the Start-Transcript cmdlet in the format defined by the MyView view, a custom view created by the user.