We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
dans la portée du script
Only the commands in the script run in the script scope.
The functions, variables, aliases, and drives that are created in the script exist only in the script scope.
Les fonctions, variables, alias et lecteurs créés dans le script existent uniquement dans la portée du script.
Because the $ptest variable is not visible in the script scope, the output is empty.
Étant donné que la variable $ptest n'est pas visible dans la portée du script, la sortie est vide.
C:\PS> $ConfirmPreference High This example shows that changes to the value of a variable in the script scope do not affect the value of that variable in the parent scope.
C:\PS> $ConfirmPreference High Cet exemple montre que les modifications apportées à la valeur d'une variable dans la portée du script n'affectent pas la valeur de cette variable dans la portée parente.
The script changes the value of the $ConfirmPreference variable and then reports its value in the script scope.
Le script modifie la valeur de la variable $ConfirmPreference, puis signale sa valeur dans la portée du script.
To run a script in a different scope, you can specify a scope, such as Global or Local, or you can dot source the script. The dot sourcing feature lets you run a script in the current scope instead of in the script scope.
Pour exécuter un script dans une portée différente, vous pouvez spécifier une portée, telle que vous permet d'exécuter un script dans la portée actuelle plutôt que dans la portée du script.
To find the variables and aliases that are defined in the script scope, use the Scope parameter of the Get-Alias or Get-Variable cmdlets.
Pour rechercher les variables et les alias définis dans l'étendue du script, utilisez le paramètre Scope des applets de commande Get-Alias ou Get-Variable.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.