Server Networking Information

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: M (anonymous_at_discussions.microsoft.com)
Date: 04/29/04


Date: Thu, 29 Apr 2004 11:44:48 -0700

Try downloading Primal script and use the WMI wizard.
That should help.

M
>-----Original Message-----
>Hi Viatcheslav V. Vassiliev,
>
>COuld you please tell us where should we find the
scripts which give
>the information of Server IP Address & Network Adapter
Information for
>windows 2000 server? IF Possible
>I will be thankful to you.
>
>Regards
>
>Marjina
>
>
>"Viatcheslav V. Vassiliev" <msnewsgroup@www-sharp.com>
wrote in message
news:<#1lsvedLEHA.3216@tk2msftngp13.phx.gbl>...
>> Works on XP. Returns real IP address.
>>
>> //------------------------------------
>> Regards,
>> Vassiliev V. V.
>> http://www-sharp.com -
>> Scripting/HTA/.Net Framework IDE
>>
>>
<marjina98@hotmail.com> ???????/???????? ? ???????? ??????
???:
>> news:24bfee06.0404290236.2ad52942@posting.google.com...
>> > Hi,
>> >
>> > I am using the following script for getting Network
Adapter
>> > information of the server, but I didn't get any row.
>> > Is that script giving the Network Adapter
Information?
>> > I am using Windows 2000 Server.
>> > Any advice will be great.
>> >
>> > Regards
>> >
>> > Marjina
>> >
>> >
>> >
>> >
>> > Script
>> >
>> >
>> >
>> > strComputer = "."
>> > Set objWMIService = GetObject("winmgmts:\\" &
strComputer &
>> > "\root\cimv2")
>> > Set IPConfigSet = objWMIService.ExecQuery _
>> > ("Select IPAddress from
Win32_NetworkAdapterConfiguration where
>> > IPEnabled=TRUE")
>> > For Each IPConfig in IPConfigSet
>> > If Not IsNull(IPConfig.IPAddress) Then
>> > For i=LBound(IPConfig.IPAddress) to UBound
(IPConfig.IPAddress)
>> > WScript.Echo IPConfig.IPAddress(i)
>> > Next
>> > End If
>> > Next
>.
>



Relevant Pages

  • Re: Inserting new records into a large ADO table
    ... Regards, ... Vassiliev V. V. ... >> executes one SQL statement for each change in the CDS.Delta property. ... >> If you insert 1,000 rows the DSP will create and send to the server ...
    (borland.public.delphi.database.ado)
  • Re: From JScript to VBScript???
    ... This code will run on server. ... Vassiliev V. V. ... Scripting/HTA/.Net Framework IDE ... > How can I go back to running server sided VBScript? ...
    (microsoft.public.scripting.jscript)
  • Re: Server Networking Information
    ... Microsoft supported scripts are located on ... > Hi Viatcheslav V. Vassiliev, ... > windows 2000 server? ... >> Regards, ...
    (microsoft.public.windows.server.scripting)
  • Re: Heterogeneous joins ?
    ... linked server in MS SQL ... Look sp_addlinkedserver in BOL for more info. ... Vassiliev V. V. ...
    (borland.public.delphi.database.ado)