If you include a Break statement in a Trap statement list, Windows PowerShell stops the function or script.
Wenn Sie eine Break-Anweisung in eine Trap-Anweisung-Liste einschließen, wird die Funktion oder das Skript von Windows PowerShell beendet.
In contrast, advanced functions are written in the Windows PowerShell script language in the same way that other functions or script blocks are written.
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.
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.
You can use the features of the Windows PowerShell debugger to examine a Windows PowerShell script, function, command, or expression while it is running.
If Windows PowerShell does not handle a terminating error in some way, Windows PowerShell also stops running the function or script using the current pipeline.
Wenn in Windows PowerShell ein Fehler mit Abbruch nicht behandelt wird, wird auch die Funktion oder das Skript in der aktuellen Pipeline nicht mehr ausgeführt.
If Windows PowerShell does not handle a terminating error in some way, Windows PowerShell also stops running the function or script in the current pipeline.
Wenn in Windows PowerShell ein Fehler mit Abbruch nicht behandelt wird, wird auch die Funktion oder das Skript in der aktuellen Pipeline nicht mehr ausgeführt.
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.