La quatrième commande, qui peut être exécutée à tout moment dans n'importe quelle session, utilise l'applet de commande Import-Module pour ajouter les applets de commande du module TestCmdlets à la session active.
The fourth command, which can be run in any session at any time, uses the Import-Module cmdlet to add the cmdlets in the TestCmdlets module to the current session.
La deuxième commande utilise l'applet de commande Import-Module pour importer le module de script Show-Calendar.
The second command uses the Import-Module cmdlet to import the Show-Calendar script module.
Other results
Pour importer les modules créés par ces applets de commande, à l'aide d'Import-PSSession ou d'Import-Module, la stratégie d'exécution de la session active ne peut pas être Restricted ni AllSigned.
To import the modules that are created by these cmdlets, either by using Import-PSSession or Import-Module, the execution policy in the current session cannot be Restricted or AllSigned.
Exporte uniquement les applets de commande spécifiées du module dans la session active.
Exports only the specified cmdlets from the module into the current session.
Par exemple, l'applet de commande New-Item crée un élément.
For example, the New-Item cmdlet creates a new item.
Vous pouvez diriger le contenu du fichier vers une autre applet de commande.
You can pipe the contents of the file to another cmdlet.
Vous pouvez utiliser ce paramètre au lieu de l'applet de commande Get-Unique.
You can use this parameter instead of using the Get-Unique cmdlet.
Elle utilise ensuite l'applet de commande Write-Host pour afficher la lettre a.
Then, it uses the Write-Host cmdlet to display the letter a.
Cette applet de commande retourne une chaîne lorsque vous utilisez le paramètre LastStatus.
When you use the LastStatus parameter, this cmdlet returns a string.
Par défaut, toutes les applets de commande du module sont exportées.
By default, all cmdlets in the module are exported.
Une applet de commande Out doit toujours apparaître à la fin du pipeline.
An Out cmdlet should always appear at the end of the pipeline.
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.