L'applet de commande Get-Command obtient les fonctions par défaut, en plus des applets de commande.
The Get-Command cmdlet gets functions by default, in addition to cmdlets.
La deuxième commande utilise l'applet de commande Get-Command pour obtenir les membres importés à partir du module.
The second command uses the Get-Command cmdlet to get the members that have been imported from the module.
Pour répertorier les applets de commande de votre session, utilisez l'applet de commande Get-Command sans paramètres de commande.
To list the cmdlets in your session, use the Get-Command cmdlet without any command parameters.
L'applet de commande Get-Command a un paramètre Syntax qui vous permet de ne récupérer que la syntaxe de chaque applet de commande.
The Get-Command cmdlet has a Syntax parameter that allows you to retrieve just the syntax of each cmdlet.
Cette commande utilise l'applet de commande Get-Command pour obtenir un objet CmdletInfo qui représente chacune des applets de commande et fonctions de la session.
This command uses the Get-Command cmdlet to get a CmdletInfo object representing each of the cmdlets and functions in the session.
Par exemple, la commande suivante utilise Out-Host pour paginer la sortie de l'applet de commande Get-Command
For example, the following command uses Out-Host to page the output of the Get-Command cmdlet
Pour rechercher des commandes natives d'autres types, vous pouvez utiliser le paramètre CommandType de l'applet de commande Get-Command.
To find native commands of other types, you can use the CommandType parameter of the Get-Command cmdlet.
Pour utiliser les fonctions Help et Man afin d'afficher l'aide de l'applet de commande Get-Command, tapez
To use the Help and Man functions to display Help for the Get-Command cmdlet, type
Les fonctions sont des commandes. Par conséquent, pour rechercher des fonctions, utilisez l'applet de commande Get-Command.
Finding Functions Functions are commands, so to find functions, use the Get-Command cmdlet.
La troisième commande utilise le paramètre Module de l'applet de commande Get-Command pour obtenir les commandes importées à partir du module BitsTransfer.
The third command uses the Module parameter of the Get-Command cmdlet to get the commands that were imported from the BitsTransfer module.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.