Re: DHCP and VBScripting
- From: "James Tee Stain" <Cobalt_blueuk@xxxxxxxxx>
- Date: Thu, 14 Jul 2005 15:00:24 GMT
"Marty List" <usenet@xxxxxxxxxxxx> wrote in message
news:enWt8u%23hFHA.1052@xxxxxxxxxxxxxxxxxxxxxxx
>
> I've used dhcpobjs.dll for this in the past, it was very simple. I think
> it's in the Windows 2000 Server Resource Kit tools, but I'm not sure. I
> have VB code I could share with you, but not VBScript.
>
> You could also try netsh.exe, I think it will do what you want. You might
> need to add the DHCP helper like this:
<SNIP>
Thanks, Marty, I'll certainly look into those 2 and see what's what. I've
noticed netsh.exe before on the Microsoft site, but not dhcpobjs.dll.
I'm not sure on the VB code, as we are in a secure enviroment and if I write
that out It'll need to be approved by the technical architecture guys (I'm
sys amin/tech support and I don't like the idea of them laughing at my code)
and any customer, and that'll take a few weeks :-0 and any minor versions
will need to be approved as well. And, no, they don't have time to write
out stuff themselves - even I'll agree they're hard working chaps.
VBScript is ideal, as I'm only needing a read only program, Type in the IP
address and extract the MAC address.
.....every little time saving second helps.
Cheers
James
.
- Follow-Ups:
- Re: DHCP and VBScripting
- From: James Whitlow
- Re: DHCP and VBScripting
- References:
- DHCP and VBScripting
- From: James Tee Stain
- Re: DHCP and VBScripting
- From: Marty List
- DHCP and VBScripting
- Prev by Date: Re: permission denied creating object
- Next by Date: Script to delete files
- Previous by thread: Re: DHCP and VBScripting
- Next by thread: Re: DHCP and VBScripting
- Index(es):
Loading