Skip to content

Instantly share code, notes, and snippets.

@RC1140 RC1140/PingNetwork
Created May 19, 2010

Embed
What would you like to do?
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
You can’t perform that action at this time.