Examples of using Powershell session in English and their translations into German
{-}
-
Colloquial
-
Official
-
Ecclesiastic
-
Medicine
-
Financial
-
Ecclesiastic
-
Political
-
Computer
-
Programming
-
Official/political
-
Political
Import the Server Manager module into your Windows PowerShell session.
Ps1xml files into a Windows PowerShell session, use the Update-FormatData cmdlet.
When you open Windows PowerShell, you are in a Windows PowerShell session.
Specifies a Windows PowerShell session(PSSession) to use for the interactive session. .
PID Contains the process identifier(PID)of the process that is hosting the current Windows PowerShell session.
The New-PSSession cmdlet creates a Windows PowerShell session(PSSession) on a local or remote computer.
These commands start andstop an interactive session with the Server01 computer that uses a Windows PowerShell session PSSession.
To do this, in a Windows PowerShell session opened with elevated user rights, type Import-Module Servermanager, and then press Enter.
On computers that are running Windows Server 2008 R2, open a Windows PowerShell session with elevated user rights.
To start a Windows PowerShell session with all the available Windows PowerShell modules and snap-ins, use the following procedure.
For a list of the Windows PowerShell drives in your Windows PowerShell session, use the Get-PSDrive cmdlet.
If you close the Windows PowerShell session and then open a new one, the PSDrive: drive is gone, and the X: drive persists.
In addition to the variables you create in your current Windows PowerShell session, there are several system-defined variables.
These commands show how to use the$pid automatic variable to identify theprocess that is hosting the current Windows PowerShell session.
To import a module into every Windows PowerShell session that you start, add the Import-Module command to your Windows PowerShell profile.
For more information about how to use any of these cmdlets, in a Windows PowerShell session, enter Get-Help cmdlet_name-full.
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.
For more information about common parameters, in your Windows PowerShell session, type, get-help about_commonparameters, and then press Enter.
It uses the Get-Process cmdlet with the$pid automatic variable to get theprocess that is hosting the current Windows PowerShell session.
For example, to change the value of the$VerbosePreference variable in every Windows PowerShell session, add the following command to your Windows PowerShell profile.
After the results of the Get-WindowsFeature cmdlet are displayed in your Windows PowerShell session, type the following to close the Windows PowerShell session, and then press Enter.
If you do not subscribe to the custom event, to delete the event,you must change the program conditions or close the Windows PowerShell session.
For more information about how to start a Windows PowerShell session with all installed modules and snap-ins loaded automatically, see Starting Windows PowerShell with All Modules Loaded.
TOPIC about_PSSession_Details SHORTDESCRIPTION Provides detailed information about Windows PowerShell sessions and the role they play in remote commands.
For more information about and examples of how to use any of these cmdlets, in a Windows PowerShell session into which the Server Manager module is loaded, enter Get-Help cmdlet_name-full, in which cmdlet_name represents one of the following values.
LONG DESCRIPTION To run Windows PowerShell commands on a remote computer, you can use the ComputerName parameter of a cmdlet,or you can create a Windows PowerShell session(PSSession) and run commands in the PSSession.
Saving Changes to Environment Variables To create orchange the value of an environment variable in every Windows PowerShell session, add the change to your Windows PowerShell profile.
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.
When the language pack installation is complete, verify that the language packis installed by running get-windowspackage-online in a Windows PowerShell session that has been started with elevated user rights Run as Administrator.