Nous n’avons pas trouvé cette entrée. Affichage de résultats approximatifs. Vérifiez l’orthographe ou proposez d’ajouter ce terme au dictionnaire.
Select-String command
Par conséquent, le paramètre Context n'est pas valide sur la commande Select-String de réception.
As a result, the Context parameter is not valid on the receiving Select-String command.
La deuxième commande utilise un opérateur de pipeline (|) pour envoyer les objets de la variable $events à l'applet de commande Select-String.
The second command uses a pipeline operator (|) to send the objects in the $events variable to Select-String.
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.
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.
Dans cet exemple, la commande effectue une recherche dans le sous-répertoire en-US, qui contient les fichiers d'aide en Cette fonction simple utilise l'applet de commande Select-String pour rechercher une chaîne particulière dans les fichiers d'aide de Windows PowerShell.
In this example, the command searches the en-US subdirectory, which contains the English (US) language Help files for Windows PowerShell. Example 4
Autres résultats
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.
Another pipeline operator sends the strings to Select-String, which selects the strings that include "Get-Command" anywhere in the string.
Select-String est semblable à la commande Grep dans UNIX et à la commande FindStr dans Windows.
Select-String is like the Grep command in UNIX and the FindStr command in Windows.
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.
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.
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é.
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.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.
Aucun résultat pour cette recherche.
Synonymes et analogies de "commande Select-String" en français