As a result, the Context parameter is not valid on the receiving Select-String command.
Par conséquent, le paramètre Context n'est pas valide sur la commande Select-String de réception.
When you pipe the output of a Select-String command to another Select-String command, the receiving command searches only the text in the matched line (the value of the Line property of the MatchInfo object), not the text in the context lines.
Lorsque vous dirigez la sortie d'une commande Select-String vers une autre commande Select-String, la commande de réception recherche uniquement le texte de la ligne de correspondance (valeur de la propriété Line de l'objet MatchInfo), pas le texte des lignes de contexte.
Other results
If you omit the Stream parameter, the command displays all of the aliases, because Select-String finds "Get-Command" in the single string that Out-String returns, and the formatter displays the string as a table.
Si vous omettez le paramètre Stream, la commande affiche tous les alias, car Select-String recherche « Get-Command » dans la chaîne unique qu'Out-String retourne, et le formateur affiche la chaîne sous forme de tableau.
Another pipeline operator sends the strings to Select-String, which selects the strings that include "Get-Command" anywhere in the string.
Un autre opérateur de pipeline envoie les chaînes à Select-String, qui sélectionne les chaînes qui incluent « Get-Command » n'importe où dans la chaîne.
Select-String is like the Grep command in UNIX and the FindStr command in Windows.
The second command uses a pipeline operator (|) to send the objects in the $events variable to Select-String.
La deuxième commande utilise un opérateur de pipeline (|) pour envoyer les objets de la variable $events à l'applet de commande Select-String.
For example, the following command searches the conceptual Help topics for the word "variable": select-string -pattern variable -path $pshome\ .txt $PSScriptRoot Contains the directory from which the script module is being executed.
Par exemple, la commande suivante recherche le mot "variable" dans les rubriques d'aide conceptuelles : select-string -pattern variable -path $pshome\ .txt $PSScriptRoot Contient le répertoire à partir duquel le module de script est exécuté.
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.
No results found for this meaning.
Synonyms and analogies of "Select-String command" in English