View Single Post
Old 03-18-2009, 11:43 AM   #1 (permalink)
SparkMonkeyHellion
 
Banned

Join Date: Feb 2009

Location: Guantanomo Bay, Cuba

Posts: 546

SparkMonkeyHellion is on a distinguished road

Default Ping alternative???

Okay, I've exported a list of all our machines from Active Directory, which I then opened in Excel and added "echo y| ping " to the column to the left of the machine names and ">> machineinfo.txt" to the right, and then exported that as .txt and saved it into a .bat

Clever huh?

So now I can get all the info for our machines, see which ones are alive and which ones aren't. But the output looks terribly cluttered as the ">>" command simply outputs the entire PING result into the text file.

So what I'm looking for is some way to just quickly say "%computername% is alive/dead" in a .txt file.

Any ideas?
SparkMonkeyHellion is offline