To create or change the value of an environment variable in every Windows PowerShell session, add the change to your Windows PowerShell profile.
Zum Erstellen oder Ändern des Werts für eine Umgebungsvariable in allen Windows PowerShell-Sitzungen fügen Sie die Änderung dem Windows PowerShell-Profil hinzu.
For example, to change the value of the $VerbosePreference variable in every Windows PowerShell session, add the following command to your Windows PowerShell profile.
Wenn Sie beispielsweise den Wert der Variablen $VerbosePreference in allen Windows PowerShell-Sitzungen hinzufügen möchten, fügen Sie dem Windows PowerShell-Profil den folgenden Befehl hinzu.
You must also import the Group Policy module before you use the cmdlets, at the beginning of every script that uses them and at the beginning of every Windows PowerShell session.
Sie müssen vor dem Verwenden der Cmdlets auch das Gruppenrichtlinienmodul importieren, und zwar zu Beginn jedes Skripts, in dem Cmdlets verwendet werden, und zu Beginn jeder Windows PowerShell-Sitzung.
You must also use the Import-Module grouppolicy command to import the Group Policy module before you use the cmdlets at the beginning of every script that uses them and at the beginning of every Windows PowerShell session.
Außerdem müssen Sie den Befehl Import-Module grouppolicy ausführen, damit vor dem Verwenden der Cmdlets zu Beginn jedes Skripts, in dem die Cmdlets verwendet werden, und zu Beginn jeder Windows PowerShell-Sitzung auch das Gruppenrichtlinienmodul importiert werden kann.
For example, to change the value of the $VerbosePreference variable in every Windows PowerShell session, add the following command to your Windows PowerShell profile.
Wenn Sie beispielsweise den Wert der Variablen"$VerbosePreferen ce" in allen Windows PowerShell-Sitzungen hinzufügen möchten, fügen Sie dem Windows PowerShell-Profil den folgenden Befehl hinzu.
Saving Changes to Environment Variables To create or change the value of an environment variable in every Windows PowerShell session, add the change to your Windows PowerShell profile.
Speichern von Änderungen in Umgebungsvariablen Zum Erstellen oder Ändern des Werts für eine Umgebungsvariable in allen Windows PowerShell-Sitzungen fügen Sie die Änderung dem Windows PowerShell-Profil hinzu.
Every Windows PowerShell session uses a session configuration.
Bei jeder Windows PowerShell-Sitzung wird eine Sitzungskonfigura
Variables in a profile are added to every Windows PowerShell session that you open.
To save the variables, aliases, functions, and commands that you use routinely, and make them available in every Windows PowerShell session, add them to your Windows PowerShell profile.
Wenn Sie die Variablen, Aliase, Funktionen und Befehle, die Sie regelmäßig verwenden, speichern und in jeder Windows PowerShell-Sitzung verfügbar machen möchten, fügen Sie diese Ihrem Windows PowerShell-Profil hinzu.
LONG DESCRIPTION You can create a Windows PowerShell profile to customize your environment and to add session-specific elements to every Windows PowerShell session that you start.
DETAILBESCHREIBUNG Sie können ein Windows PowerShell-Profil erstellen, um die Umgebung anzupassen und den Windows PowerShell-Sitzungen, die Sie starten, sitzungsspezifische Elemente hinzuzufügen.
To import a module into every Windows PowerShell session that you start, add the Import-Module command to your Windows PowerShell profile.
Wenn Sie ein Modul in jede Windows PowerShell-Sitzung importieren möchten, die Sie starten, fügen Sie den Befehl Import-Module Ihrem Windows PowerShell-Profil hinzu.
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.