Test-NetConnection uses

Here’s a handy way to use the cmdlet test-netconnection:

Need to check a continuous connection to an end-point? Use the while loop:

while ($true) {test-netconnection -computername fatdex.ca -port 443 -InformationLevel Detailed}

for the -InformationLevel, you can leave it out, or just use either detailed or quiet

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.