Mit den Anweisungen unter dem DATA-Abschnitt wird der Text für den Benutzer angezeigt.
The statements below the DATA section display the text to the user.
Variablen sind im DATA-Abschnitt nicht zulässig.
Mit dem DATA-Abschnitt können Sie Benutzermeldungszeichenfolgen identifizieren und isolieren, die in mehrere Benutzeroberflächensprachen übersetzt werden.
You can use the DATA section to isolate and identify user message strings that will be translated into multiple user interface languages.
Falls der Befehl fehlschlägt, werden die im DATA-Abschnitt des Skripts definierten Standardtextzeichenfolgen angezeigt.
If the command fails for any reason, the command displays the default text strings defined in the DATA section of the script.
Mit dem DATA-Abschnitt können Sie Benutzermeldungszeichenfolgen identifizieren und isolieren, die in mehrere Benutzerober- flächensprachen übersetzt werden.
You can use the DATA section to isolate and identify user message strings that will be translated into multiple user interface languages.
In diesem Beispiel wird gezeigt, wie mit Import-LocalizedData im DATA-Abschnitt eines Skripts definierte Standardtextzeichenfolgen ersetzt werden.
the $msgTable variable, replacing any default strings that might be defined in the Data section of the World.ps1 script.
In diesem Beispiel wird gezeigt, wie mit Import-LocalizedData im DATA-Abschnitt eines Skripts definierte Standardtextzeichenfolgen ersetzt werden.
This example shows how to use Import-LocalizedData to replace default text strings defined in the DATA section of a script.
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.
The ConvertFrom-StringData cmdlet is considered to be a safe cmdlet that can be used in the DATA section of a script or function.
In diesem Beispiel wird der im DATA-Abschnitt eines Skripts verwendete Befehl ConvertFrom-StringData veranschaulicht.
This example shows a ConvertFrom-StringData command used in the DATA section of a script.
In diesem Beispiel enthält der DATA-Abschnitt des Skripts TestScript.ps1 einen Befehl ConvertFrom-StringData, der den Inhalt des DATA-Abschnitts in eine Hashtabelle konvertiert und im Wert der Variablen $UserMessages speichert.
In this example, the DATA section of the TestScript.ps1 script contains a ConvertFrom-StringData command that converts the contents of the DATA section to a hash table and stores in the value of the $UserMessages variable.
Das Cmdlet ConvertFrom-StringData können Sie im Data-Abschnitt eines Skripts sicher verwenden, und Sie können es mit dem Cmdlet Import-LocalizedData verwenden, um Benutzermeldungen in der Benutzeroberflächenkultur des aktuellen Benutzers anzuzeigen.
You can use the ConvertFrom-StringData cmdlet safely in the Data section of a script, and you can use it with the Import-LocalizedData cmdlet to display user messages in the user-interface (UI) culture of the current user.
Das Cmdlet "ConvertFrom-StringData" können Sie im Data-Abschnitt eines Skripts sicher verwenden, und Sie können es mit dem Cmdlet "Import-LocalizedData" verwenden, um Benutzermeldungen in der Benutzeroberflächenkultur des aktuellen Benutzers anzuzeigen.
You can use the ConvertFrom-StringData cmdlet safely in the Data section of a script, and you can use it with the Import-LocalizedData cmdlet to display user messages in the user-interface (UI) culture of the current user.