I need to use the client ip from the terminal in a script. How can I retrieve this client ip? I see some tools such as gettscip but that isn't what I want to use. Is there a way to retrieve this via scripting?
there's an environment variable called "CLIENTNAME" containing the computer name of your client pc, shouldn't be a problem to address your client this way, if you really need the ip address resolving can be done with the common tools