Skip to content

Commit ce04493

Browse files
authored
Fix description of -AsJob (#11304)
1 parent 05f7e90 commit ce04493

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

reference/5.1/Microsoft.PowerShell.Management/Test-Connection.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 12/12/2022
5+
ms.date: 07/31/2024
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/test-connection?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Test-Connection
@@ -162,17 +162,9 @@ cmdlet to create the **PSSession**.
162162

163163
### -AsJob
164164

165-
Indicates that this cmdlet runs as a background job.
166-
167-
To use this parameter, the local and remote computers must be configured for remoting and, on
168-
Windows Vista and later versions of the Windows operating system, you must open PowerShell by using
169-
the **Run as administrator** option. For more information, see
170-
[about_Remote_Requirements](../microsoft.powershell.core/about/about_remote_requirements.md).
171-
172-
When you specify the **AsJob** parameter, the command immediately returns an object that represents
173-
the background job. You can continue to work in the session while the job finishes. The job is
174-
created on the local computer and the results from remote computers are automatically returned to
175-
the local computer. To get the job results, use the `Receive-Job` cmdlet.
165+
Indicates that this cmdlet runs as a background job. When you specify the **AsJob** parameter, the
166+
command immediately returns an object that represents the background job. You can continue to work
167+
in the session while the job finishes. To get the job results, use the `Receive-Job` cmdlet.
176168

177169
For more information about PowerShell background jobs, see
178170
[about_Jobs](../Microsoft.PowerShell.Core/About/about_jobs.md) and

0 commit comments

Comments
 (0)