About 50 results
Open links in new tab
  1. Powershell Test-NetConnection "Name resolution of [domain] failed ...

    Mar 27, 2019 · Test-NetConnection -Port 80 -ComputerName https://www.microsoft.com Surprisingly, this also failed: WARNING: Name resolution of https://www.microsoft.com failed I'm new to …

  2. PowerShell cmdlet Test-NetConnection not available

    Nov 30, 2017 · I noticed that the cmdlet Test-NetConnection was not installed on Server 2012. Since Server 2012 comes with PowerShell version 3 so I thought it might help to update to the latest …

  3. set timeout across domain for Test-NetConnection or 5985 in Powershell

    Jan 9, 2024 · set timeout across domain for Test-NetConnection or 5985 in Powershell Asked 2 years ago Modified 2 years ago Viewed 1k times

  4. Execute Test-NetConnection continuously until key pressed in PowerShell

    Nov 5, 2020 · I would like to execute below command continuously until a key is pressed. As an example: Test-NetConnection -ComputerName google.com -Port 80 How can I do this?

  5. Test for connection to the internet in a powershell script?

    Jul 18, 2023 · I'm writing a script to test our internet connection periodically and can't figure out how to write an if statement that doesn't cause powershell to fail on error, or return a true/false from Test …

  6. excel - Net-Connection Test PowerShell - Stack Overflow

    May 9, 2023 · I'm having trouble exporting this basic net-connection test into the Export-Excel (import-Excel) feature. I need to export the results of a net-connection test from the array that was created.

  7. powershell - Using test-connection and IF = "True" Statement, ELSE not ...

    Sep 20, 2017 · Test-Connection The Test-Connection cmdlet returns a Win32_PingStatus object for each ICMP reply. If you do not get a reply, the cmdlet will throw an exception. Instead of catching …

  8. PowerShell - to check multiple Port Status - Stack Overflow

    Jan 4, 2023 · I was trying to check whether the port is opened or not using powershell like follows. My question is : I want to check multiple ports such as 389,53,135. how can we do that? Here is my …

  9. Powershell looping Test-NetConnection - Stack Overflow

    Mar 28, 2022 · 1 I'm a bit new to Powershell scripting and I'm trying to create a simple loop with the Test-NetConnection tool, but I don't know how to do this. This is what I have:

  10. Discovering open port range in remote host using powershell

    Feb 3, 2024 · As you've discovered, Test-NetConnection supports targeting only one computer and port at a time. In PowerShell (Core) 7+, you could use ForEach-Object -Parallel to target multiple ports in …