Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "runspace"

Parallel Ping and Port Testing in PowerShell Using Runspaces

In this article, I demonstrate how to test network connectivity for a list of computer names or IP addresses using PowerShell. Each target system is tested for ICMP reachability (ping) and TCP connectivity on port 445, which is commonly used for SMB.

The core logic is implemented in a custom func…

Read more

1 blog post

Blog Search

Page Views

1 4 6 7 6 5 6 0

Archive

Follow me on Blogarama