"Marcio" <Marcio[ at ]discussions.microsoft.com> wrote in message news:7F8F6B07-4046-42D7-8C0D-120FA1BC48E4[ at ]microsoft.com...
[Quoted Text] > 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
|