Is it possible to write a vbscript that not only accepts arguments, but also returns arguments upon completion?
For instance, the script I've written accepts an IP address and then uses the IP address to determine dns suffix, location of computer, and a few other server names (all part of a global logon script). The script does everything correctly, but I can't figure out a way to have it pass the variables back out when it completes.
For instance, the script I've written accepts an IP address and then uses the IP address to determine dns suffix, location of computer, and a few other server names (all part of a global logon script). The script does everything correctly, but I can't figure out a way to have it pass the variables back out when it completes.