Skip to content

Commit 6686c23

Browse files
matt9ucciSean Wheeler
authored andcommitted
Remove descriptions about ComputerName parameter in Get-Process.md v6.0 (#1928)
1 parent 6712f85 commit 6686c23

File tree

1 file changed

+10
-69
lines changed

1 file changed

+10
-69
lines changed

reference/6/Microsoft.PowerShell.Management/Get-Process.md

Lines changed: 10 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -11,48 +11,44 @@ title: Get-Process
1111
# Get-Process
1212

1313
## SYNOPSIS
14-
Gets the processes that are running on the local computer or a remote computer.
14+
Gets the processes that are running on the local computer.
1515

1616
## SYNTAX
1717

1818
### Name (Default)
1919
```
20-
Get-Process [[-Name] <String[]>] [-ComputerName <String[]>] [-Module] [-FileVersionInfo]
21-
[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
20+
Get-Process [[-Name] <String[]>] [-Module] [-FileVersionInfo]
21+
[<CommonParameters>]
2222
```
2323

2424
### NameWithUserName
2525
```
26-
Get-Process [[-Name] <String[]>] [-IncludeUserName] [-InformationAction <ActionPreference>]
27-
[-InformationVariable <String>] [<CommonParameters>]
26+
Get-Process [[-Name] <String[]>] [-IncludeUserName] [<CommonParameters>]
2827
```
2928

3029
### Id
3130
```
32-
Get-Process -Id <Int32[]> [-ComputerName <String[]>] [-Module] [-FileVersionInfo]
33-
[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
31+
Get-Process -Id <Int32[]> [-Module] [-FileVersionInfo] [<CommonParameters>]
3432
```
3533

3634
### IdWithUserName
3735
```
38-
Get-Process -Id <Int32[]> [-IncludeUserName] [-InformationAction <ActionPreference>]
39-
[-InformationVariable <String>] [<CommonParameters>]
36+
Get-Process -Id <Int32[]> [-IncludeUserName] [<CommonParameters>]
4037
```
4138

4239
### InputObject
4340
```
44-
Get-Process -InputObject <Process[]> [-ComputerName <String[]>] [-Module] [-FileVersionInfo]
45-
[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
41+
Get-Process -InputObject <Process[]> [-Module] [-FileVersionInfo]
42+
[<CommonParameters>]
4643
```
4744

4845
### InputObjectWithUserName
4946
```
50-
Get-Process -InputObject <Process[]> [-IncludeUserName] [-InformationAction <ActionPreference>]
51-
[-InformationVariable <String>] [<CommonParameters>]
47+
Get-Process -InputObject <Process[]> [-IncludeUserName] [<CommonParameters>]
5248
```
5349

5450
## DESCRIPTION
55-
The **Get-Process** cmdlet gets the processes on a local or remote computer.
51+
The **Get-Process** cmdlet gets the processes on a local computer.
5652

5753
Without parameters, this cmdlet gets all of the processes on the local computer.
5854
You can also specify a particular process by process name or process ID (PID) or pass a process object through the pipeline to this cmdlet.
@@ -201,34 +197,11 @@ To view all of the properties, pipe the results of a **Get-Process** command to
201197

202198
## PARAMETERS
203199

204-
### -ComputerName
205-
Specifies the computers for which this cmdlet gets active processes.
206-
The default is the local computer.
207-
208-
Type the NetBIOS name, an IP address, or a fully qualified domain name (FQDN) of one or more computers.
209-
To specify the local computer, type the computer name, a dot (.), or localhost.
210-
211-
This parameter does not rely on Windows PowerShell remoting.
212-
You can use the *ComputerName* parameter of this cmdlet even if your computer is not configured to run remote commands.
213-
214-
```yaml
215-
Type: String[]
216-
Parameter Sets: Name, Id, InputObject
217-
Aliases: Cn
218-
219-
Required: False
220-
Position: Named
221-
Default value: None
222-
Accept pipeline input: True (ByPropertyName)
223-
Accept wildcard characters: False
224-
```
225-
226200
### -FileVersionInfo
227201
Indicates that this cmdlet gets the file version information for the program that runs in the process.
228202

229203
On Windows Vista and later versions of Windows, you must open Windows PowerShell with the Run as administrator option to use this parameter on processes that you do not own.
230204

231-
You cannot use the *FileVersionInfo* and *ComputerName* parameters of the **Get-Process** cmdlet in the same command.
232205
To get file version information for a process on a remote computer, use the Invoke-Command cmdlet.
233206

234207
Using this parameter is equivalent to getting the **MainModule.FileVersionInfo** property of each process object.
@@ -279,37 +252,6 @@ Accept pipeline input: False
279252
Accept wildcard characters: False
280253
```
281254

282-
### -InformationAction
283-
Type the NetBIOS name, an IP address, or a fully qualified domain name of one or more computers. To specify the local computer, type the computer name, a dot (.), or "localhost".
284-
285-
This parameter does not rely on Windows PowerShell remoting. You can use the ComputerName parameter of Get-Process even if your computer is not configured to run remote commands.```yaml
286-
Type: ActionPreference
287-
Parameter Sets: (All)
288-
Aliases: infa
289-
Accepted values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend
290-
291-
Required: False
292-
Position: Named
293-
Default value: None
294-
Accept pipeline input: False
295-
Accept wildcard characters: False
296-
```
297-
298-
### -InformationVariable
299-
Type the NetBIOS name, an IP address, or a fully qualified domain name of one or more computers. To specify the local computer, type the computer name, a dot (.), or "localhost".
300-
301-
This parameter does not rely on Windows PowerShell remoting. You can use the ComputerName parameter of Get-Process even if your computer is not configured to run remote commands.```yaml
302-
Type: String
303-
Parameter Sets: (All)
304-
Aliases: iv
305-
306-
Required: False
307-
Position: Named
308-
Default value: None
309-
Accept pipeline input: False
310-
Accept wildcard characters: False
311-
```
312-
313255
### -InputObject
314256
Specifies one or more process objects.
315257
Enter a variable that contains the objects, or type a command or expression that gets the objects.
@@ -331,7 +273,6 @@ Indicates that this cmdlet gets the modules that have been loaded by the process
331273

332274
On Windows Vista and later versions of Windows, you must open Windows PowerShell with the Run as administrator option to use this parameter on processes that you do not own.
333275

334-
You cannot use the *Module* and *ComputerName* parameters of the **Get-Process** cmdlet in the same command.
335276
To get the modules that have been loaded by a process on a remote computer, use the **Invoke-Command** cmdlet.
336277

337278
This parameter is equivalent to getting the Modules property of each process object.

0 commit comments

Comments
 (0)