Created
July 9, 2019 16:21
-
-
Save betillogalvanfbc/700d6025dce27a4db9f7c2c804ba5fbf to your computer and use it in GitHub Desktop.
Simple command to check host with powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1..2xx | % {"192.168.1.$($_):$(Test-Connection -count 1 -comp 192.168.1.$($_) -quiet)"} | Select-String -Pattern True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment