Examples of using Get-process in English and their translations into German
{-}
-
Colloquial
-
Official
-
Ecclesiastic
-
Medicine
-
Financial
-
Ecclesiastic
-
Political
-
Computer
-
Programming
-
Official/political
-
Political
How to run a command(ex: Get-Process) on a remote computer with PowerShell?
For example, to open the online version of the Help topic for the Get-Process cmdlet, type.
C:\PS> Get-Process This command gets a list of all of the running processes running on the local computer.
Process object that Get-Process returns does not have a property
a command that gets the process objects, such as a Get-Process command.
It uses the Get-Process cmdlet with the$pid automatic variable to get the process that is hosting the current Windows PowerShell session.
Set-item-path gp-value get-process-force The change affects the four properties that define the association between the alias
EXAMPLE 2 C:\PS> get-process Winlogon format-custom Description This command formats information about the Winlogon process in an alternate customized view.
The second command uses the InputObject parameter to pass the process objects that are stored in the$a variable to the Get-Process cmdlet.
Job start-job-scriptblock{get-process} You can also use the Get-Job cmdlet to get objects that represent the jobs started in the current session.
This command uses the Set-Item cmdlet to change the"gp" alias so that it represents the Get-Process cmdlet instead of the Get-ItemProperty cmdlet.
C:\PS> Get-Process winword, explorer format-list* This command gets all available data about the Winword and Explorer processes on the computer.
If you use the command Get-Process-Name powershell with two instances of Windows PowerShell running, you get output that looks like this.
C:\PS>$a get-process C:\PS> get-process-inputobject$a format-table-view priority These commands list the processes on the computer in groups based on their priority class.
Windows PowerShell has commands such as Get-Process, Stop-Process, Get-Service, and Stop-Service.
As with Get-Process, using the Get-Service command without parameters returns all services.
Get-Process also accepts multiple values for the Name parameter.
EXAMPLE 2 C:\PS> get-process export-csv processes.
Note that the$proc variable includes the default information returned by Get-Process.
To specify a particular PowerShell process, use the ID parameter of Get-Process.