You can create a new scope by running a script or function, by creating a session, or by starting a new instance of Windows PowerShell.
Sie können durch das Ausführen eines Skripts oder einer Funktion, durch das Erstellen einer Sitzung oder durch das Starten einer neuen Instanz von Windows PowerShell einen neuen Bereich erstellen.
Parent and Child Scopes You can create a new scope by running a script or function, by creating a session, or by starting a new instance of Windows PowerShell.
Übergeordnete und untergeordnete Bereiche Sie können durch das Ausführen eines Skripts oder einer Funktion, durch das Erstellen einer Sitzung oder durch das Starten einer neuen Instanz von Windows PowerShell einen neuen Bereich erstellen.
The ConvertFrom-StringData cmdlet is considered to be a safe cmdlet that can be used in the DATA section of a script or function.
Das Cmdlet ConvertFrom-StringData gilt als sicheres Cmdlet, das im DATA-Abschnitt eines Skripts oder einer Funktion verwendet werden kann.
The ConvertFrom-StringData cmdlet is considered to be a safe cmdlet that can be used in the DATA section of a script or function.
Das Cmdlet "ConvertFrom-StringData" gilt als sicheres Cmdlet, das im DATA-Abschnitt eines Skripts oder einer Funktion verwendet werden kann.
But, you can add a script or function to the current scope by using dot source notation.
Sie können ein Skript oder eine Funktion jedoch zum aktuellen Bereich hinzufügen, indem Sie die Punktquellnotation verwenden.
This variable has a value only in a scope where parameters are declared, such as a script or function.
Although it is designed to be used with the Windows PowerShell debugger, you can use this cmdlet to display the call stack in a script or function outside of the debugger.
Dieses Cmdlet ist zwar für die Verwendung mit dem Windows PowerShell-Debugger vorgesehen, jedoch können Sie mit ihm auch außerhalb des Debuggers die Aufrufliste in einem Skript oder einer Funktion anzeigen.
Causes Windows PowerShell to leave the current scope, such as a script or function, and writes the optional expression to the output.
Bewirkt, dass Windows PowerShell den aktuellen Bereich lässt, z. B. ein Skript oder eine Funktion, und schreibt den optionalen Ausdruck in die Ausgabe.
Unlike the Set-PSDebug cmdlet, Set-StrictMode affects only the current scope and its child scopes, so you can use it in a script or function without affecting the global scope.
Im Gegensatz zum Cmdlet Set-PSDebug wirkt sich Set-StrictMode nur auf den aktuellen Bereich einschließlich der untergeordneten Bereiche aus und kann deshalb in einem Skript oder in einer Funktion verwendet werden, ohne den globalen Bereich zu beeinflussen.
Unlike the Set-PSDebug cmdlet, Set-StrictMode affects only the current scope and its child scopes, so you can use it in a script or function without affecting the global scope.
Im Gegensatz zum Cmdlet "Set-PSDebug" wirkt sich Set-StrictMode nur auf den aktuellen Bereich einschließlich der untergeordneten Bereiche aus und kann deshalb in einem Skript oder in einer Funktion verwendet werden, ohne den globalen Bereich zu beeinflussen.
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.