Created
May 19, 2010 17:37
-
-
Save RC1140/406584 to your computer and use it in GitHub Desktop.
This file contains 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
gwmi -query "select * from win32_pingstatus where Address='192.168.0.1'" | |
#{1..254 | %{ gwmi -query ("select * from win32_pingstatus where Address='192.168.0."+ $_+ "'") }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment