Thank you for the rewrite Doc. I am a Kixstart script newb without a doubt. I have modified the new code accordingly and I will be testing it our tomorrow before Monday morning rolls around.
I have tested it over VPN with success.
My question earlier was really focused on the GetCurrentIP() function. For some reason that code was getting skipped all together. That is why my earlier code post snippet stripped out to only have the GetCurrentIP() function. I looked in the UDF's and found GetIPinfo(). That seemed to work fine.
I was working with it some earlier today and noticed that on my Win2K Pro machines, the script was bombing out on the following line. Not sure what this is about.
code:
CASE @ProductType='Windows XP Professional' OR @ProductType='Windows XP Home Edition'
Is this related to the trivia question posted in this thread? XP Home = No Domain?
Lastly, I don't know the proper way to enter @ERROR statements and have them be meaningful. I'll poke around with it tomorrow and hope for the best.