Re: execute a script in a scope of ips




"Marcio" <Marcio@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7F8F6B07-4046-42D7-8C0D-120FA1BC48E4@xxxxxxxxxxxxxxxx
Hi there,
please, I would like to know, how can I execute a script in all machines
in
my network, but without the use of GPO.
I would like just to type a scope of ips and it executes. Is it possible?
e.g. 192.168.0.0 to specify a network
or 192.168.0.1 - 192.168.0.50 to specify a range

Do you want to run these scripts from an administrative workstation and have
them operate on the target machines remotely, or do you want them to run as
a non-GPO-based logon script?

I'd guess the former, given your mention of IP ranges. One problem is, of
course, that some machines may not be on when you run a script remotely.

Instead of using an IP range, you could filter the output of the "net view"
command to include only those workstations in your target group, if
possible. These workstations, by definition, are all those that have been
accessible in the last 15 minutes or so. If that cannot be deduced by the
naming convention, then you might need to ping each to see if it is in your
range.

/Al


.



Relevant Pages

  • Re: ntp woes (and more-general questions about startup and logging)
    ... the script didn't run the "stop" ... Our 10.4 machines are 10.4.7. ... been thinking that the underlying network, ... deny) what traffic (IP + port) goes to what port. ...
    (comp.sys.mac.system)
  • Re: Globally changing the Local Admin Password on Windows 2000
    ... The first script will get the names of all machines on the network ... Then make sure you change the name of the text file in the second script to ... the same directory as the change local admin password sctipt & run. ...
    (microsoft.public.win2000.general)
  • Re: using arrays in my bash script, having problems
    ... cannot execute the constants into my main script. ... > echo "Now I am gathering the Spoof Groups from the master network a ... > echo we DID IT ...
    (comp.unix.shell)
  • Re: Turning SNMP service on in Remote XP machines...
    ... my network and would like my XP machines to report traps to this box. ... The SNMP service is not running by default on the machines in the ... I thought I could write a script (or add a section to ...
    (microsoft.public.scripting.vbscript)
  • RPC Call
    ... I have administrative rights to all of my machines on my network. ... The remote shutdown command uses RPC to initiate the shutdown. ... I should be able to send another command that says "execute this ...
    (microsoft.public.win32.programmer.networks)

Quantcast