I was wondering how to do this. and am looking for any answer or suggestion someone may have to do this...
i want to use wmi to take the current ip address for the "active" adapter and compare it to the current dhcp server address and use it as a way for a client pc to process a script a logon.
for instance a person logging on in, if ip address is A and dhcp server is B then run script a. if ip address is Y and dhcp server is Z then run script b
The situation is that a lot of people in my company travel and we want to deploy apps but not deploy an app for a person across the WAN. One problem that I also have is some laptop pc's have BAD ip information that contains old dhcp information in the WMI. and when i try to run the locational script on the client it finds that bad information and tries to update across the WAN ?
Many Props to anyone who can understand and help
i want to use wmi to take the current ip address for the "active" adapter and compare it to the current dhcp server address and use it as a way for a client pc to process a script a logon.
for instance a person logging on in, if ip address is A and dhcp server is B then run script a. if ip address is Y and dhcp server is Z then run script b
The situation is that a lot of people in my company travel and we want to deploy apps but not deploy an app for a person across the WAN. One problem that I also have is some laptop pc's have BAD ip information that contains old dhcp information in the WMI. and when i try to run the locational script on the client it finds that bad information and tries to update across the WAN ?
Many Props to anyone who can understand and help