Test-Connection google.com -count 10 -AsJob


When I am executing the following command, the -As job is not working in Powershell Core 7.0

Similarly Get-Job | Receive-Job also does not respond.

Kindly help


The -AsJob parameter isn’t available with Test-Connection in PowerShell 7. It was dropped in PowerShell Core 6. You need to use Windows PowerShell (5.1).