Hi,

How can I get the Computername,Windows version, processor type,... of a
remote pc?

Thx

Re: Get remote's pc info by Richard

Richard
Sat Oct 14 11:55:31 CDT 2006

HDI wrote:

> How can I get the Computername,Windows version, processor type,... of a
> remote pc?

You can use WMI in a VBScript program to retrieve information like this from
remote computers. Start here in the Technet documentation:

http://www.microsoft.com/technet/scriptcenter/guide/sas_cpm_overview.mspx

For example, here is an example to retrieve name and version number of the
OS:

http://www.microsoft.com/technet/scriptcenter/guide/sas_cpm_saxj.mspx

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net



Re: Get remote's pc info by HDI

HDI
Sat Oct 14 13:12:25 CDT 2006

Ok I tried it.

Local ok but on a local macine I get the message that the computer
doesn't exist.

Remarks:
The pc is on an other location with ip 192.168.5.2
I am on the pc with ip 192.168.2.3
We work with vpn lines.
Is this the reason


Richard Mueller schreef:

> HDI wrote:
>
> > How can I get the Computername,Windows version, processor type,... of a
> > remote pc?
>
> You can use WMI in a VBScript program to retrieve information like this from
> remote computers. Start here in the Technet documentation:
>
> http://www.microsoft.com/technet/scriptcenter/guide/sas_cpm_overview.mspx
>
> For example, here is an example to retrieve name and version number of the
> OS:
>
> http://www.microsoft.com/technet/scriptcenter/guide/sas_cpm_saxj.mspx
>
> --
> Richard
> Microsoft MVP Scripting and ADSI
> Hilltop Lab - http://www.rlmueller.net


Re: Get remote's pc info by Shenan

Shenan
Sat Oct 14 13:31:43 CDT 2006

HDI wrote:
> How can I get the Computername,Windows version, processor
> type,... of a remote pc?

Richard Mueller schreef:
> You can use WMI in a VBScript program to retrieve information like
> this from remote computers. Start here in the Technet
> documentation:
>
> http://www.microsoft.com/technet/scriptcenter/guide/sas_cpm_overview.mspx
>
> For example, here is an example to retrieve name and version
> number of the OS:
>
> http://www.microsoft.com/technet/scriptcenter/guide/sas_cpm_saxj.mspx

HDI wrote:
> Ok I tried it.
>
> Local ok but on a local macine I get the message that the computer
> doesn't exist.
>
> Remarks:
> The pc is on an other location with ip 192.168.5.2
> I am on the pc with ip 192.168.2.3
> We work with vpn lines.
> Is this the reason

You will probably have to run the scripts from a machine on the same network
as the machines you are trying to get information from.
Can you type \\ipaddress\c$ and get the C drive of the remote machine
mapped?

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html



Re: Get remote's pc info by HDI

HDI
Sat Oct 14 13:52:10 CDT 2006


Shenan Stanley schreef:

> HDI wrote:
> > How can I get the Computername,Windows version, processor
> > type,... of a remote pc?
>
> Richard Mueller schreef:
> > You can use WMI in a VBScript program to retrieve information like
> > this from remote computers. Start here in the Technet
> > documentation:
> >
> > http://www.microsoft.com/technet/scriptcenter/guide/sas_cpm_overview.mspx
> >
> > For example, here is an example to retrieve name and version
> > number of the OS:
> >
> > http://www.microsoft.com/technet/scriptcenter/guide/sas_cpm_saxj.mspx
>
> HDI wrote:
> > Ok I tried it.
> >
> > Local ok but on a local macine I get the message that the computer
> > doesn't exist.
> >
> > Remarks:
> > The pc is on an other location with ip 192.168.5.2
> > I am on the pc with ip 192.168.2.3
> > We work with vpn lines.
> > Is this the reason
>
> You will probably have to run the scripts from a machine on the same network
> as the machines you are trying to get information from.
> Can you type \\ipaddress\c$ and get the C drive of the remote machine
> mapped?
>
> --
> Shenan Stanley
> MS-MVP
> --
> How To Ask Questions The Smart Way
> http://www.catb.org/~esr/faqs/smart-questions.html


Where do I have to type this?
run > cmd >... or ....