Re: How can I check if a computer is ON ?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 06/08/04


Date: Tue, 08 Jun 2004 23:47:23 +0200

Leinad wrote:

> I need a .VBS to check if a computer is started or not. Similar
> a PING command.
Hi

You could use the ping command from your VBScript, take a look at the
IsConnectible function in the link below.

http://groups.google.com/groups?selm=ejucKB3FEHA.744%40TK2MSFTNGP09.phx.gbl

-- 
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx


Relevant Pages

  • Re: Hostname -> IP Address
    ... Todd Walton wrote: ... Right now I'm exec'ing a ping command, ... Pinging cmp092.example.com with 32 bytes of data: ... I have four VBScript example functions linked on this page that retrieve the ...
    (microsoft.public.scripting.vbscript)
  • Re: Hostname -> IP Address
    ... VBScript? ... Right now I'm exec'ing a ping command, ... Pinging cmp092.example.com with 32 bytes of data: ... Ping statistics for 167.190.237.59: ...
    (microsoft.public.scripting.vbscript)
  • Hostname -> IP Address
    ... Any ideas on how best to get the IP address of a hostname, ... VBScript? ... Right now I'm exec'ing a ping command, ... Pinging cmp092.example.com with 32 bytes of data: ...
    (microsoft.public.scripting.vbscript)