Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: netsh checking flat file for valid IP

HTVi
TV Discussion Newsgroups

netsh checking flat file for valid IP
jason.fraioli[ at ]gmail.com 5/29/2007 6:16:56 PM
I am wondering if this is possible to do via a logon script.

1.) Check a flat/excel file for the current computer name
2.) Verify that the IP in the flat file matches the IP assigned to the
current computer
3.) If it does not, then set it to the IP associated to the current
computer, listed in the flat file
4.) If the IP has been changed by the script, log the event to a text
file/database.

Is this possible to do?

Re: netsh checking flat file for valid IP
"Nut Cracker" <nutcracker[ at ]internationalhacker.org> 5/29/2007 10:58:21 PM

<jason.fraioli[ at ]gmail.com> wrote in message
news:1180462616.654479.100960[ at ]k79g2000hse.googlegroups.com...
[Quoted Text]
>I am wondering if this is possible to do via a logon script.
>
> 1.) Check a flat/excel file for the current computer name
> 2.) Verify that the IP in the flat file matches the IP assigned to the
> current computer
> 3.) If it does not, then set it to the IP associated to the current
> computer, listed in the flat file
> 4.) If the IP has been changed by the script, log the event to a text
> file/database.
>
> Is this possible to do?
>

Just use DHCP Reservations, and force DHCP via a GPO


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen